Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.


QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.

Using Dependency Pairs [1,15] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

ISNATILIST(V) → ACTIVATE(V)
ISNATLIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → ISNATKIND(activate(V1))
U621(tt, V2) → U631(isNatIList(activate(V2)))
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ACTIVATE(n__0) → 01
ISNATKIND(n__length(V1)) → ACTIVATE(V1)
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
LENGTH(cons(N, L)) → ISNAT(N)
ISNAT(n__length(V1)) → U111(isNatIListKind(activate(V1)), activate(V1))
ISNATKIND(n__length(V1)) → ISNATILISTKIND(activate(V1))
ACTIVATE(n__length(X)) → LENGTH(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
U111(tt, V1) → U121(isNatList(activate(V1)))
TAKE(0, IL) → ISNATILIST(IL)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
TAKE(s(M), cons(N, IL)) → AND(isNat(M), n__isNatKind(M))
U611(tt, V1, V2) → ACTIVATE(V2)
U421(tt, V2) → ACTIVATE(V2)
U521(tt, V2) → ACTIVATE(V2)
U411(tt, V1, V2) → ISNAT(activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
TAKE(s(M), cons(N, IL)) → AND(isNatIList(activate(IL)), n__isNatIListKind(activate(IL)))
TAKE(0, IL) → AND(isNatIList(IL), n__isNatIListKind(IL))
U511(tt, V1, V2) → ACTIVATE(V1)
U911(tt, IL, M, N) → CONS(activate(N), n__take(activate(M), activate(IL)))
TAKE(s(M), cons(N, IL)) → AND(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))))
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U911(tt, IL, M, N) → ACTIVATE(M)
LENGTH(cons(N, L)) → AND(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N)))
TAKE(s(M), cons(N, IL)) → ISNAT(N)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
U111(tt, V1) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
U411(tt, V1, V2) → ACTIVATE(V1)
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U211(tt, V1) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
U421(tt, V2) → U431(isNatIList(activate(V2)))
U711(tt, L) → ACTIVATE(L)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ZEROSCONS(0, n__zeros)
U911(tt, IL, M, N) → ACTIVATE(IL)
U111(tt, V1) → ISNATLIST(activate(V1))
U511(tt, V1, V2) → ACTIVATE(V2)
U711(tt, L) → LENGTH(activate(L))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
U611(tt, V1, V2) → ISNAT(activate(V1))
U521(tt, V2) → ISNATLIST(activate(V2))
U621(tt, V2) → ISNATILIST(activate(V2))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
U911(tt, IL, M, N) → ACTIVATE(N)
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__cons(X1, X2)) → CONS(X1, X2)
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
LENGTH(nil) → 01
ACTIVATE(n__zeros) → ZEROS
U811(tt) → NIL
U521(tt, V2) → U531(isNatList(activate(V2)))
LENGTH(cons(N, L)) → U711(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
ACTIVATE(n__nil) → NIL
U611(tt, V1, V2) → ACTIVATE(V1)
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
ACTIVATE(n__s(X)) → S(X)
ISNAT(n__s(V1)) → ACTIVATE(V1)
AND(tt, X) → ACTIVATE(X)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
ISNATILIST(V) → ISNATILISTKIND(activate(V))
ISNATLIST(n__take(V1, V2)) → ISNATKIND(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U311(tt, V) → ISNATLIST(activate(V))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATLIST(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V2)
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
U211(tt, V1) → U221(isNat(activate(V1)))
ISNAT(n__length(V1)) → ISNATILISTKIND(activate(V1))
U311(tt, V) → ACTIVATE(V)
U311(tt, V) → U321(isNatList(activate(V)))
TAKE(0, IL) → U811(and(isNatIList(IL), n__isNatIListKind(IL)))
TAKE(s(M), cons(N, IL)) → ISNAT(M)
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
U411(tt, V1, V2) → ACTIVATE(V2)
U511(tt, V1, V2) → ISNAT(activate(V1))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNatIListKind(activate(L)))
LENGTH(cons(N, L)) → ACTIVATE(L)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
ISNATLIST(n__take(V1, V2)) → U611(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
TAKE(s(M), cons(N, IL)) → U911(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
U711(tt, L) → S(length(activate(L)))
U621(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
ISNATILIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNAT(n__length(V1)) → ACTIVATE(V1)
ZEROS01

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

ISNATILIST(V) → ACTIVATE(V)
ISNATLIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → ISNATKIND(activate(V1))
U621(tt, V2) → U631(isNatIList(activate(V2)))
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ACTIVATE(n__0) → 01
ISNATKIND(n__length(V1)) → ACTIVATE(V1)
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
LENGTH(cons(N, L)) → ISNAT(N)
ISNAT(n__length(V1)) → U111(isNatIListKind(activate(V1)), activate(V1))
ISNATKIND(n__length(V1)) → ISNATILISTKIND(activate(V1))
ACTIVATE(n__length(X)) → LENGTH(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
U111(tt, V1) → U121(isNatList(activate(V1)))
TAKE(0, IL) → ISNATILIST(IL)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
TAKE(s(M), cons(N, IL)) → AND(isNat(M), n__isNatKind(M))
U611(tt, V1, V2) → ACTIVATE(V2)
U421(tt, V2) → ACTIVATE(V2)
U521(tt, V2) → ACTIVATE(V2)
U411(tt, V1, V2) → ISNAT(activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
TAKE(s(M), cons(N, IL)) → AND(isNatIList(activate(IL)), n__isNatIListKind(activate(IL)))
TAKE(0, IL) → AND(isNatIList(IL), n__isNatIListKind(IL))
U511(tt, V1, V2) → ACTIVATE(V1)
U911(tt, IL, M, N) → CONS(activate(N), n__take(activate(M), activate(IL)))
TAKE(s(M), cons(N, IL)) → AND(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))))
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U911(tt, IL, M, N) → ACTIVATE(M)
LENGTH(cons(N, L)) → AND(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N)))
TAKE(s(M), cons(N, IL)) → ISNAT(N)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
U111(tt, V1) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
U411(tt, V1, V2) → ACTIVATE(V1)
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U211(tt, V1) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
U421(tt, V2) → U431(isNatIList(activate(V2)))
U711(tt, L) → ACTIVATE(L)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ZEROSCONS(0, n__zeros)
U911(tt, IL, M, N) → ACTIVATE(IL)
U111(tt, V1) → ISNATLIST(activate(V1))
U511(tt, V1, V2) → ACTIVATE(V2)
U711(tt, L) → LENGTH(activate(L))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
U611(tt, V1, V2) → ISNAT(activate(V1))
U521(tt, V2) → ISNATLIST(activate(V2))
U621(tt, V2) → ISNATILIST(activate(V2))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
U911(tt, IL, M, N) → ACTIVATE(N)
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__cons(X1, X2)) → CONS(X1, X2)
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
LENGTH(nil) → 01
ACTIVATE(n__zeros) → ZEROS
U811(tt) → NIL
U521(tt, V2) → U531(isNatList(activate(V2)))
LENGTH(cons(N, L)) → U711(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
ACTIVATE(n__nil) → NIL
U611(tt, V1, V2) → ACTIVATE(V1)
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
ACTIVATE(n__s(X)) → S(X)
ISNAT(n__s(V1)) → ACTIVATE(V1)
AND(tt, X) → ACTIVATE(X)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
ISNATILIST(V) → ISNATILISTKIND(activate(V))
ISNATLIST(n__take(V1, V2)) → ISNATKIND(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U311(tt, V) → ISNATLIST(activate(V))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATLIST(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V2)
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
U211(tt, V1) → U221(isNat(activate(V1)))
ISNAT(n__length(V1)) → ISNATILISTKIND(activate(V1))
U311(tt, V) → ACTIVATE(V)
U311(tt, V) → U321(isNatList(activate(V)))
TAKE(0, IL) → U811(and(isNatIList(IL), n__isNatIListKind(IL)))
TAKE(s(M), cons(N, IL)) → ISNAT(M)
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
U411(tt, V1, V2) → ACTIVATE(V2)
U511(tt, V1, V2) → ISNAT(activate(V1))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNatIListKind(activate(L)))
LENGTH(cons(N, L)) → ACTIVATE(L)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
ISNATLIST(n__take(V1, V2)) → U611(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
TAKE(s(M), cons(N, IL)) → U911(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
U711(tt, L) → S(length(activate(L)))
U621(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
ISNATILIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNAT(n__length(V1)) → ACTIVATE(V1)
ZEROS01

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 18 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
QDP
          ↳ QDPOrderProof

Q DP problem:
The TRS P consists of the following rules:

U111(tt, V1) → ISNATLIST(activate(V1))
ISNATILIST(V) → ACTIVATE(V)
U511(tt, V1, V2) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
U711(tt, L) → LENGTH(activate(L))
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V1)
U611(tt, V1, V2) → ISNAT(activate(V1))
U521(tt, V2) → ISNATLIST(activate(V2))
ISNATILISTKIND(n__take(V1, V2)) → ISNATKIND(activate(V1))
U621(tt, V2) → ISNATILIST(activate(V2))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
U911(tt, IL, M, N) → ACTIVATE(N)
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATKIND(n__length(V1)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
LENGTH(cons(N, L)) → ISNAT(N)
ISNATILIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNAT(n__length(V1)) → U111(isNatIListKind(activate(V1)), activate(V1))
ISNATKIND(n__length(V1)) → ISNATILISTKIND(activate(V1))
ACTIVATE(n__length(X)) → LENGTH(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
LENGTH(cons(N, L)) → U711(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
TAKE(0, IL) → ISNATILIST(IL)
U611(tt, V1, V2) → ACTIVATE(V1)
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
ISNAT(n__s(V1)) → ACTIVATE(V1)
AND(tt, X) → ACTIVATE(X)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
TAKE(s(M), cons(N, IL)) → AND(isNat(M), n__isNatKind(M))
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
U611(tt, V1, V2) → ACTIVATE(V2)
U521(tt, V2) → ACTIVATE(V2)
U421(tt, V2) → ACTIVATE(V2)
ISNATILIST(V) → ISNATILISTKIND(activate(V))
ISNATLIST(n__take(V1, V2)) → ISNATKIND(activate(V1))
U411(tt, V1, V2) → ISNAT(activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U311(tt, V) → ISNATLIST(activate(V))
TAKE(s(M), cons(N, IL)) → AND(isNatIList(activate(IL)), n__isNatIListKind(activate(IL)))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATLIST(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V2)
TAKE(0, IL) → AND(isNatIList(IL), n__isNatIListKind(IL))
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
U511(tt, V1, V2) → ACTIVATE(V1)
ISNAT(n__length(V1)) → ISNATILISTKIND(activate(V1))
U311(tt, V) → ACTIVATE(V)
TAKE(s(M), cons(N, IL)) → AND(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))))
TAKE(s(M), cons(N, IL)) → ISNAT(M)
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U911(tt, IL, M, N) → ACTIVATE(M)
LENGTH(cons(N, L)) → AND(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N)))
TAKE(s(M), cons(N, IL)) → ISNAT(N)
U411(tt, V1, V2) → ACTIVATE(V2)
U511(tt, V1, V2) → ISNAT(activate(V1))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNatIListKind(activate(L)))
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
U111(tt, V1) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ACTIVATE(L)
U411(tt, V1, V2) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U211(tt, V1) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
TAKE(s(M), cons(N, IL)) → U911(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
ISNATLIST(n__take(V1, V2)) → U611(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U711(tt, L) → ACTIVATE(L)
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
U911(tt, IL, M, N) → ACTIVATE(IL)
U621(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
ISNATILIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNAT(n__length(V1)) → ACTIVATE(V1)

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


ISNATKIND(n__length(V1)) → ACTIVATE(V1)
ISNAT(n__length(V1)) → U111(isNatIListKind(activate(V1)), activate(V1))
ISNATKIND(n__length(V1)) → ISNATILISTKIND(activate(V1))
ACTIVATE(n__length(X)) → LENGTH(X)
ISNAT(n__length(V1)) → ISNATILISTKIND(activate(V1))
ISNAT(n__length(V1)) → ACTIVATE(V1)
The remaining pairs can at least be oriented weakly.

U111(tt, V1) → ISNATLIST(activate(V1))
ISNATILIST(V) → ACTIVATE(V)
U511(tt, V1, V2) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
U711(tt, L) → LENGTH(activate(L))
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V1)
U611(tt, V1, V2) → ISNAT(activate(V1))
U521(tt, V2) → ISNATLIST(activate(V2))
ISNATILISTKIND(n__take(V1, V2)) → ISNATKIND(activate(V1))
U621(tt, V2) → ISNATILIST(activate(V2))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
U911(tt, IL, M, N) → ACTIVATE(N)
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
LENGTH(cons(N, L)) → ISNAT(N)
ISNATILIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
LENGTH(cons(N, L)) → U711(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
TAKE(0, IL) → ISNATILIST(IL)
U611(tt, V1, V2) → ACTIVATE(V1)
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
ISNAT(n__s(V1)) → ACTIVATE(V1)
AND(tt, X) → ACTIVATE(X)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
TAKE(s(M), cons(N, IL)) → AND(isNat(M), n__isNatKind(M))
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
U611(tt, V1, V2) → ACTIVATE(V2)
U521(tt, V2) → ACTIVATE(V2)
U421(tt, V2) → ACTIVATE(V2)
ISNATILIST(V) → ISNATILISTKIND(activate(V))
ISNATLIST(n__take(V1, V2)) → ISNATKIND(activate(V1))
U411(tt, V1, V2) → ISNAT(activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U311(tt, V) → ISNATLIST(activate(V))
TAKE(s(M), cons(N, IL)) → AND(isNatIList(activate(IL)), n__isNatIListKind(activate(IL)))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATLIST(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V2)
TAKE(0, IL) → AND(isNatIList(IL), n__isNatIListKind(IL))
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
U511(tt, V1, V2) → ACTIVATE(V1)
U311(tt, V) → ACTIVATE(V)
TAKE(s(M), cons(N, IL)) → AND(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))))
TAKE(s(M), cons(N, IL)) → ISNAT(M)
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U911(tt, IL, M, N) → ACTIVATE(M)
LENGTH(cons(N, L)) → AND(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N)))
TAKE(s(M), cons(N, IL)) → ISNAT(N)
U411(tt, V1, V2) → ACTIVATE(V2)
U511(tt, V1, V2) → ISNAT(activate(V1))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNatIListKind(activate(L)))
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
U111(tt, V1) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ACTIVATE(L)
U411(tt, V1, V2) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U211(tt, V1) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
TAKE(s(M), cons(N, IL)) → U911(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
ISNATLIST(n__take(V1, V2)) → U611(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U711(tt, L) → ACTIVATE(L)
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
U911(tt, IL, M, N) → ACTIVATE(IL)
U621(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
ISNATILIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
Used ordering: Polynomial interpretation [25]:

POL(0) = 0   
POL(ACTIVATE(x1)) = x1   
POL(AND(x1, x2)) = x2   
POL(ISNAT(x1)) = x1   
POL(ISNATILIST(x1)) = x1   
POL(ISNATILISTKIND(x1)) = x1   
POL(ISNATKIND(x1)) = x1   
POL(ISNATLIST(x1)) = x1   
POL(LENGTH(x1)) = x1   
POL(TAKE(x1, x2)) = x1 + x2   
POL(U11(x1, x2)) = 0   
POL(U111(x1, x2)) = x2   
POL(U12(x1)) = 0   
POL(U21(x1, x2)) = 0   
POL(U211(x1, x2)) = x2   
POL(U22(x1)) = 0   
POL(U31(x1, x2)) = 0   
POL(U311(x1, x2)) = x2   
POL(U32(x1)) = 0   
POL(U41(x1, x2, x3)) = 1   
POL(U411(x1, x2, x3)) = x2 + x3   
POL(U42(x1, x2)) = 0   
POL(U421(x1, x2)) = x2   
POL(U43(x1)) = 0   
POL(U51(x1, x2, x3)) = 1 + x3   
POL(U511(x1, x2, x3)) = x2 + x3   
POL(U52(x1, x2)) = 1 + x2   
POL(U521(x1, x2)) = x2   
POL(U53(x1)) = 0   
POL(U61(x1, x2, x3)) = 1   
POL(U611(x1, x2, x3)) = x2 + x3   
POL(U62(x1, x2)) = 1   
POL(U621(x1, x2)) = x2   
POL(U63(x1)) = 1   
POL(U71(x1, x2)) = 1 + x2   
POL(U711(x1, x2)) = x2   
POL(U81(x1)) = x1   
POL(U91(x1, x2, x3, x4)) = x2 + x3 + x4   
POL(U911(x1, x2, x3, x4)) = x2 + x3 + x4   
POL(activate(x1)) = x1   
POL(and(x1, x2)) = x2   
POL(cons(x1, x2)) = x1 + x2   
POL(isNat(x1)) = 0   
POL(isNatIList(x1)) = 1   
POL(isNatIListKind(x1)) = x1   
POL(isNatKind(x1)) = x1   
POL(isNatList(x1)) = 1 + x1   
POL(length(x1)) = 1 + x1   
POL(n__0) = 0   
POL(n__and(x1, x2)) = x2   
POL(n__cons(x1, x2)) = x1 + x2   
POL(n__isNatIListKind(x1)) = x1   
POL(n__isNatKind(x1)) = x1   
POL(n__length(x1)) = 1 + x1   
POL(n__nil) = 0   
POL(n__s(x1)) = x1   
POL(n__take(x1, x2)) = x1 + x2   
POL(n__zeros) = 0   
POL(nil) = 0   
POL(s(x1)) = x1   
POL(take(x1, x2)) = x1 + x2   
POL(tt) = 0   
POL(zeros) = 0   

The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
QDP
              ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

U111(tt, V1) → ISNATLIST(activate(V1))
ISNATILIST(V) → ACTIVATE(V)
U511(tt, V1, V2) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
U711(tt, L) → LENGTH(activate(L))
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V1)
U611(tt, V1, V2) → ISNAT(activate(V1))
U521(tt, V2) → ISNATLIST(activate(V2))
ISNATILISTKIND(n__take(V1, V2)) → ISNATKIND(activate(V1))
U621(tt, V2) → ISNATILIST(activate(V2))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
U911(tt, IL, M, N) → ACTIVATE(N)
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
LENGTH(cons(N, L)) → ISNAT(N)
ISNATLIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
LENGTH(cons(N, L)) → U711(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
TAKE(0, IL) → ISNATILIST(IL)
U611(tt, V1, V2) → ACTIVATE(V1)
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
ISNAT(n__s(V1)) → ACTIVATE(V1)
AND(tt, X) → ACTIVATE(X)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
TAKE(s(M), cons(N, IL)) → AND(isNat(M), n__isNatKind(M))
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
U611(tt, V1, V2) → ACTIVATE(V2)
U521(tt, V2) → ACTIVATE(V2)
U421(tt, V2) → ACTIVATE(V2)
ISNATILIST(V) → ISNATILISTKIND(activate(V))
ISNATLIST(n__take(V1, V2)) → ISNATKIND(activate(V1))
U411(tt, V1, V2) → ISNAT(activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U311(tt, V) → ISNATLIST(activate(V))
TAKE(s(M), cons(N, IL)) → AND(isNatIList(activate(IL)), n__isNatIListKind(activate(IL)))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATLIST(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V2)
TAKE(0, IL) → AND(isNatIList(IL), n__isNatIListKind(IL))
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
U511(tt, V1, V2) → ACTIVATE(V1)
U311(tt, V) → ACTIVATE(V)
TAKE(s(M), cons(N, IL)) → AND(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))))
TAKE(s(M), cons(N, IL)) → ISNAT(M)
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
LENGTH(cons(N, L)) → AND(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N)))
U911(tt, IL, M, N) → ACTIVATE(M)
TAKE(s(M), cons(N, IL)) → ISNAT(N)
U411(tt, V1, V2) → ACTIVATE(V2)
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNatIListKind(activate(L)))
U511(tt, V1, V2) → ISNAT(activate(V1))
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
U111(tt, V1) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ACTIVATE(L)
U411(tt, V1, V2) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U211(tt, V1) → ACTIVATE(V1)
ISNATLIST(n__take(V1, V2)) → U611(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
TAKE(s(M), cons(N, IL)) → U911(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
U711(tt, L) → ACTIVATE(L)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
U621(tt, V2) → ACTIVATE(V2)
U911(tt, IL, M, N) → ACTIVATE(IL)
ISNATILIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 2 SCCs with 8 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
QDP
                    ↳ QDPOrderProof
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

ISNATILIST(V) → ACTIVATE(V)
U511(tt, V1, V2) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V1)
U521(tt, V2) → ISNATLIST(activate(V2))
U611(tt, V1, V2) → ISNAT(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → ISNATKIND(activate(V1))
U621(tt, V2) → ISNATILIST(activate(V2))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
U911(tt, IL, M, N) → ACTIVATE(N)
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
U611(tt, V1, V2) → ACTIVATE(V1)
TAKE(0, IL) → ISNATILIST(IL)
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
TAKE(s(M), cons(N, IL)) → AND(isNat(M), n__isNatKind(M))
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
U611(tt, V1, V2) → ACTIVATE(V2)
U521(tt, V2) → ACTIVATE(V2)
ISNATILIST(V) → ISNATILISTKIND(activate(V))
U421(tt, V2) → ACTIVATE(V2)
ISNATLIST(n__take(V1, V2)) → ISNATKIND(activate(V1))
U411(tt, V1, V2) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
U311(tt, V) → ISNATLIST(activate(V))
TAKE(s(M), cons(N, IL)) → AND(isNatIList(activate(IL)), n__isNatIListKind(activate(IL)))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V2)
TAKE(0, IL) → AND(isNatIList(IL), n__isNatIListKind(IL))
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
U511(tt, V1, V2) → ACTIVATE(V1)
U311(tt, V) → ACTIVATE(V)
TAKE(s(M), cons(N, IL)) → AND(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))))
TAKE(s(M), cons(N, IL)) → ISNAT(M)
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U911(tt, IL, M, N) → ACTIVATE(M)
TAKE(s(M), cons(N, IL)) → ISNAT(N)
U411(tt, V1, V2) → ACTIVATE(V2)
U511(tt, V1, V2) → ISNAT(activate(V1))
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
U411(tt, V1, V2) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U211(tt, V1) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
TAKE(s(M), cons(N, IL)) → U911(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
ISNATLIST(n__take(V1, V2)) → U611(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
U911(tt, IL, M, N) → ACTIVATE(IL)
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
U621(tt, V2) → ACTIVATE(V2)
ISNATILIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


ISNATILIST(V) → ACTIVATE(V)
U511(tt, V1, V2) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V1)
U611(tt, V1, V2) → ISNAT(activate(V1))
ISNATILISTKIND(n__take(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
U611(tt, V1, V2) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → AND(isNat(M), n__isNatKind(M))
U611(tt, V1, V2) → ACTIVATE(V2)
U521(tt, V2) → ACTIVATE(V2)
ISNATILIST(V) → ISNATILISTKIND(activate(V))
U421(tt, V2) → ACTIVATE(V2)
ISNATLIST(n__take(V1, V2)) → ISNATKIND(activate(V1))
U411(tt, V1, V2) → ISNAT(activate(V1))
TAKE(s(M), cons(N, IL)) → AND(isNatIList(activate(IL)), n__isNatIListKind(activate(IL)))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__take(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ISNATILISTKIND(n__take(V1, V2)) → ACTIVATE(V2)
TAKE(0, IL) → AND(isNatIList(IL), n__isNatIListKind(IL))
U511(tt, V1, V2) → ACTIVATE(V1)
U311(tt, V) → ACTIVATE(V)
TAKE(s(M), cons(N, IL)) → AND(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))))
TAKE(s(M), cons(N, IL)) → ISNAT(M)
TAKE(s(M), cons(N, IL)) → ISNAT(N)
U411(tt, V1, V2) → ACTIVATE(V2)
U511(tt, V1, V2) → ISNAT(activate(V1))
U411(tt, V1, V2) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
TAKE(s(M), cons(N, IL)) → U911(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
ISNATLIST(n__take(V1, V2)) → U611(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U621(tt, V2) → ACTIVATE(V2)
ISNATILIST(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
The remaining pairs can at least be oriented weakly.

U521(tt, V2) → ISNATLIST(activate(V2))
U621(tt, V2) → ISNATILIST(activate(V2))
U911(tt, IL, M, N) → ACTIVATE(N)
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
TAKE(0, IL) → ISNATILIST(IL)
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → ACTIVATE(V1)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
U311(tt, V) → ISNATLIST(activate(V))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U911(tt, IL, M, N) → ACTIVATE(M)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U211(tt, V1) → ACTIVATE(V1)
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
U911(tt, IL, M, N) → ACTIVATE(IL)
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
Used ordering: Polynomial interpretation [25]:

POL(0) = 0   
POL(ACTIVATE(x1)) = x1   
POL(AND(x1, x2)) = x2   
POL(ISNAT(x1)) = x1   
POL(ISNATILIST(x1)) = 1 + x1   
POL(ISNATILISTKIND(x1)) = x1   
POL(ISNATKIND(x1)) = x1   
POL(ISNATLIST(x1)) = 1 + x1   
POL(TAKE(x1, x2)) = 1 + x1 + x2   
POL(U11(x1, x2)) = 0   
POL(U12(x1)) = 0   
POL(U21(x1, x2)) = 0   
POL(U211(x1, x2)) = x2   
POL(U22(x1)) = 0   
POL(U31(x1, x2)) = 0   
POL(U311(x1, x2)) = 1 + x2   
POL(U32(x1)) = 0   
POL(U41(x1, x2, x3)) = 0   
POL(U411(x1, x2, x3)) = 1 + x2 + x3   
POL(U42(x1, x2)) = 0   
POL(U421(x1, x2)) = 1 + x2   
POL(U43(x1)) = 0   
POL(U51(x1, x2, x3)) = 0   
POL(U511(x1, x2, x3)) = 1 + x2 + x3   
POL(U52(x1, x2)) = 0   
POL(U521(x1, x2)) = 1 + x2   
POL(U53(x1)) = 0   
POL(U61(x1, x2, x3)) = 0   
POL(U611(x1, x2, x3)) = 1 + x2 + x3   
POL(U62(x1, x2)) = 0   
POL(U621(x1, x2)) = 1 + x2   
POL(U63(x1)) = 0   
POL(U71(x1, x2)) = x2   
POL(U81(x1)) = 1 + x1   
POL(U91(x1, x2, x3, x4)) = 1 + x2 + x3 + x4   
POL(U911(x1, x2, x3, x4)) = x2 + x3 + x4   
POL(activate(x1)) = x1   
POL(and(x1, x2)) = x2   
POL(cons(x1, x2)) = x1 + x2   
POL(isNat(x1)) = 0   
POL(isNatIList(x1)) = 0   
POL(isNatIListKind(x1)) = x1   
POL(isNatKind(x1)) = x1   
POL(isNatList(x1)) = x1   
POL(length(x1)) = x1   
POL(n__0) = 0   
POL(n__and(x1, x2)) = x2   
POL(n__cons(x1, x2)) = x1 + x2   
POL(n__isNatIListKind(x1)) = x1   
POL(n__isNatKind(x1)) = x1   
POL(n__length(x1)) = x1   
POL(n__nil) = 1   
POL(n__s(x1)) = x1   
POL(n__take(x1, x2)) = 1 + x1 + x2   
POL(n__zeros) = 0   
POL(nil) = 1   
POL(s(x1)) = x1   
POL(take(x1, x2)) = 1 + x1 + x2   
POL(tt) = 0   
POL(zeros) = 0   

The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
QDP
                        ↳ DependencyGraphProof
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))
U521(tt, V2) → ISNATLIST(activate(V2))
U621(tt, V2) → ISNATILIST(activate(V2))
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
U911(tt, IL, M, N) → ACTIVATE(N)
U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
U911(tt, IL, M, N) → ACTIVATE(M)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U611(tt, V1, V2) → U621(isNat(activate(V1)), activate(V2))
TAKE(0, IL) → ISNATILIST(IL)
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
ISNAT(n__s(V1)) → ACTIVATE(V1)
AND(tt, X) → ACTIVATE(X)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
U211(tt, V1) → ACTIVATE(V1)
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATILIST(V) → U311(isNatIListKind(activate(V)), activate(V))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
U911(tt, IL, M, N) → ACTIVATE(IL)
U311(tt, V) → ISNATLIST(activate(V))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 4 SCCs with 13 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
QDP
                              ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2))
U521(tt, V2) → ISNATLIST(activate(V2))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, V1, V2) → U521(isNat(activate(V1)), activate(V2)) at position [0] we obtained the following new rules:

U511(tt, n__zeros, y1) → U521(isNat(zeros), activate(y1))
U511(tt, n__s(x0), y1) → U521(isNat(s(x0)), activate(y1))
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
QDP
                                  ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__zeros, y1) → U521(isNat(zeros), activate(y1))
U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, V2) → ISNATLIST(activate(V2))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U511(tt, n__s(x0), y1) → U521(isNat(s(x0)), activate(y1))
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, V2) → ISNATLIST(activate(V2)) at position [0] we obtained the following new rules:

U521(tt, x0) → ISNATLIST(x0)
U521(tt, n__s(x0)) → ISNATLIST(s(x0))
U521(tt, n__nil) → ISNATLIST(nil)
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
QDP
                                      ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__zeros, y1) → U521(isNat(zeros), activate(y1))
U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__s(x0), y1) → U521(isNat(s(x0)), activate(y1))
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__s(x0)) → ISNATLIST(s(x0))
U521(tt, n__nil) → ISNATLIST(nil)
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, n__zeros, y1) → U521(isNat(zeros), activate(y1)) at position [0] we obtained the following new rules:

U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U511(tt, n__zeros, y0) → U521(isNat(n__zeros), activate(y0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
QDP
                                          ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U511(tt, n__zeros, y0) → U521(isNat(n__zeros), activate(y0))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__s(x0), y1) → U521(isNat(s(x0)), activate(y1))
U521(tt, n__nil) → ISNATLIST(nil)
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__s(x0)) → ISNATLIST(s(x0))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__0) → ISNATLIST(0)
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
QDP
                                              ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U511(tt, n__s(x0), y1) → U521(isNat(s(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__s(x0)) → ISNATLIST(s(x0))
U521(tt, n__nil) → ISNATLIST(nil)
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, n__s(x0), y1) → U521(isNat(s(x0)), activate(y1)) at position [0] we obtained the following new rules:

U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
QDP
                                                  ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__s(x0)) → ISNATLIST(s(x0))
U521(tt, n__nil) → ISNATLIST(nil)
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, n__s(x0)) → ISNATLIST(s(x0)) at position [0] we obtained the following new rules:

U521(tt, n__s(x0)) → ISNATLIST(n__s(x0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
QDP
                                                      ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U521(tt, n__s(x0)) → ISNATLIST(n__s(x0))
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__nil) → ISNATLIST(nil)
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
QDP
                                                          ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__nil) → ISNATLIST(nil)
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, n__nil) → ISNATLIST(nil) at position [0] we obtained the following new rules:

U521(tt, n__nil) → ISNATLIST(n__nil)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
QDP
                                                              ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U521(tt, n__nil) → ISNATLIST(n__nil)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
QDP
                                                                  ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, n__cons(x0, x1), y1) → U521(isNat(cons(x0, x1)), activate(y1)) at position [0] we obtained the following new rules:

U511(tt, n__cons(x0, x1), y2) → U521(isNat(n__cons(x0, x1)), activate(y2))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
QDP
                                                                      ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__cons(x0, x1), y2) → U521(isNat(n__cons(x0, x1)), activate(y2))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
QDP
                                                                          ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__0) → ISNATLIST(0)
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, n__0) → ISNATLIST(0) at position [0] we obtained the following new rules:

U521(tt, n__0) → ISNATLIST(n__0)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
QDP
                                                                              ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, n__0) → ISNATLIST(n__0)
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
QDP
                                                                                  ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__zeros) → ISNATLIST(zeros)
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, n__zeros) → ISNATLIST(zeros) at position [0] we obtained the following new rules:

U521(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
U521(tt, n__zeros) → ISNATLIST(n__zeros)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
QDP
                                                                                      ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(n__zeros)
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
QDP
                                                                                          ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__0, y1) → U521(isNat(0), activate(y1))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, n__0, y1) → U521(isNat(0), activate(y1)) at position [0] we obtained the following new rules:

U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
QDP
                                                                                              ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1)) at position [0] we obtained the following new rules:

U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
QDP
                                                                                                  ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, n__zeros) → ISNATLIST(cons(0, n__zeros)) at position [0] we obtained the following new rules:

U521(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
QDP
                                                                                                      ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, n__nil, y1) → U521(isNat(nil), activate(y1)) at position [0] we obtained the following new rules:

U511(tt, n__nil, y0) → U521(isNat(n__nil), activate(y0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
QDP
                                                                                                          ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__nil, y0) → U521(isNat(n__nil), activate(y0))
U521(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
QDP
                                                                                                              ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U521(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros)) at position [0] we obtained the following new rules:

U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
QDP
                                                                                                                  ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, n__zeros, y0) → U521(isNat(cons(0, n__zeros)), activate(y0)) at position [0] we obtained the following new rules:

U511(tt, n__zeros, y0) → U521(isNat(n__cons(0, n__zeros)), activate(y0))
U511(tt, n__zeros, y0) → U521(isNat(cons(n__0, n__zeros)), activate(y0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
QDP
                                                                                                                      ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__zeros, y0) → U521(isNat(n__cons(0, n__zeros)), activate(y0))
U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__zeros, y0) → U521(isNat(cons(n__0, n__zeros)), activate(y0))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
QDP
                                                                                                                          ↳ Narrowing
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__zeros, y0) → U521(isNat(cons(n__0, n__zeros)), activate(y0))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule U511(tt, n__zeros, y0) → U521(isNat(cons(n__0, n__zeros)), activate(y0)) at position [0] we obtained the following new rules:

U511(tt, n__zeros, y0) → U521(isNat(n__cons(n__0, n__zeros)), activate(y0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
QDP
                                                                                                                              ↳ DependencyGraphProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__zeros, y0) → U521(isNat(n__cons(n__0, n__zeros)), activate(y0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
QDP
                                                                                                                                  ↳ QDPOrderProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U511(tt, n__take(x0, x1), y1) → U521(isNat(take(x0, x1)), activate(y1))
The remaining pairs can at least be oriented weakly.

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))
Used ordering: Polynomial interpretation [25]:

POL(0) = 0   
POL(ISNATLIST(x1)) = x1   
POL(U11(x1, x2)) = 0   
POL(U12(x1)) = 0   
POL(U21(x1, x2)) = 0   
POL(U22(x1)) = 0   
POL(U31(x1, x2)) = 0   
POL(U32(x1)) = 0   
POL(U41(x1, x2, x3)) = x2 + x3   
POL(U42(x1, x2)) = x2   
POL(U43(x1)) = 0   
POL(U51(x1, x2, x3)) = 0   
POL(U511(x1, x2, x3)) = x2 + x3   
POL(U52(x1, x2)) = 0   
POL(U521(x1, x2)) = x2   
POL(U53(x1)) = 0   
POL(U61(x1, x2, x3)) = 1   
POL(U62(x1, x2)) = 1   
POL(U63(x1)) = 0   
POL(U71(x1, x2)) = 0   
POL(U81(x1)) = 0   
POL(U91(x1, x2, x3, x4)) = 1 + x2 + x4   
POL(activate(x1)) = x1   
POL(and(x1, x2)) = x2   
POL(cons(x1, x2)) = x1 + x2   
POL(isNat(x1)) = x1   
POL(isNatIList(x1)) = x1   
POL(isNatIListKind(x1)) = 0   
POL(isNatKind(x1)) = 0   
POL(isNatList(x1)) = 1   
POL(length(x1)) = x1   
POL(n__0) = 0   
POL(n__and(x1, x2)) = x2   
POL(n__cons(x1, x2)) = x1 + x2   
POL(n__isNatIListKind(x1)) = 0   
POL(n__isNatKind(x1)) = 0   
POL(n__length(x1)) = x1   
POL(n__nil) = 0   
POL(n__s(x1)) = 0   
POL(n__take(x1, x2)) = 1 + x2   
POL(n__zeros) = 0   
POL(nil) = 0   
POL(s(x1)) = 0   
POL(take(x1, x2)) = 1 + x2   
POL(tt) = 0   
POL(zeros) = 0   

The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
QDP
                                                                                                                                      ↳ QDPOrderProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U511(tt, n__length(x0), y1) → U521(isNat(length(x0)), activate(y1))
The remaining pairs can at least be oriented weakly.

U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))
Used ordering: Polynomial interpretation [25]:

POL(0) = 0   
POL(ISNATLIST(x1)) = x1   
POL(U11(x1, x2)) = 0   
POL(U12(x1)) = 0   
POL(U21(x1, x2)) = 0   
POL(U22(x1)) = 0   
POL(U31(x1, x2)) = x2   
POL(U32(x1)) = x1   
POL(U41(x1, x2, x3)) = 0   
POL(U42(x1, x2)) = 0   
POL(U43(x1)) = 0   
POL(U51(x1, x2, x3)) = x2 + x3   
POL(U511(x1, x2, x3)) = x2 + x3   
POL(U52(x1, x2)) = x2   
POL(U521(x1, x2)) = x2   
POL(U53(x1)) = 0   
POL(U61(x1, x2, x3)) = 0   
POL(U62(x1, x2)) = 0   
POL(U63(x1)) = 0   
POL(U71(x1, x2)) = 0   
POL(U81(x1)) = 0   
POL(U91(x1, x2, x3, x4)) = x2 + x4   
POL(activate(x1)) = x1   
POL(and(x1, x2)) = x2   
POL(cons(x1, x2)) = x1 + x2   
POL(isNat(x1)) = 0   
POL(isNatIList(x1)) = x1   
POL(isNatIListKind(x1)) = 0   
POL(isNatKind(x1)) = 0   
POL(isNatList(x1)) = x1   
POL(length(x1)) = 1   
POL(n__0) = 0   
POL(n__and(x1, x2)) = x2   
POL(n__cons(x1, x2)) = x1 + x2   
POL(n__isNatIListKind(x1)) = 0   
POL(n__isNatKind(x1)) = 0   
POL(n__length(x1)) = 1   
POL(n__nil) = 0   
POL(n__s(x1)) = 0   
POL(n__take(x1, x2)) = x2   
POL(n__zeros) = 0   
POL(nil) = 0   
POL(s(x1)) = 0   
POL(take(x1, x2)) = x2   
POL(tt) = 0   
POL(zeros) = 0   

The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
QDP
                                                                                                                                          ↳ QDPOrderProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U511(tt, n__s(x0), y1) → U521(isNat(n__s(x0)), activate(y1))
The remaining pairs can at least be oriented weakly.

U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))
Used ordering: Polynomial interpretation [25]:

POL(0) = 0   
POL(ISNATLIST(x1)) = x1   
POL(U11(x1, x2)) = 0   
POL(U12(x1)) = 0   
POL(U21(x1, x2)) = 0   
POL(U22(x1)) = 0   
POL(U31(x1, x2)) = 0   
POL(U32(x1)) = 0   
POL(U41(x1, x2, x3)) = 1 + x2 + x3   
POL(U42(x1, x2)) = 0   
POL(U43(x1)) = 0   
POL(U51(x1, x2, x3)) = 1   
POL(U511(x1, x2, x3)) = x2 + x3   
POL(U52(x1, x2)) = 0   
POL(U521(x1, x2)) = x2   
POL(U53(x1)) = 0   
POL(U61(x1, x2, x3)) = 1   
POL(U62(x1, x2)) = 1   
POL(U63(x1)) = 1   
POL(U71(x1, x2)) = 1   
POL(U81(x1)) = 0   
POL(U91(x1, x2, x3, x4)) = x2 + x4   
POL(activate(x1)) = x1   
POL(and(x1, x2)) = x2   
POL(cons(x1, x2)) = x1 + x2   
POL(isNat(x1)) = 0   
POL(isNatIList(x1)) = 1 + x1   
POL(isNatIListKind(x1)) = 0   
POL(isNatKind(x1)) = 0   
POL(isNatList(x1)) = 1   
POL(length(x1)) = 1 + x1   
POL(n__0) = 0   
POL(n__and(x1, x2)) = x2   
POL(n__cons(x1, x2)) = x1 + x2   
POL(n__isNatIListKind(x1)) = 0   
POL(n__isNatKind(x1)) = 0   
POL(n__length(x1)) = 1 + x1   
POL(n__nil) = 0   
POL(n__s(x1)) = 1   
POL(n__take(x1, x2)) = x2   
POL(n__zeros) = 0   
POL(nil) = 0   
POL(s(x1)) = 1   
POL(take(x1, x2)) = x2   
POL(tt) = 0   
POL(zeros) = 0   

The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
QDP
                                                                                                                                              ↳ QDPOrderProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U511(tt, n__isNatIListKind(x0), y1) → U521(isNat(isNatIListKind(x0)), activate(y1))
U511(tt, n__isNatKind(x0), y1) → U521(isNat(isNatKind(x0)), activate(y1))
The remaining pairs can at least be oriented weakly.

U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))
Used ordering: Polynomial interpretation [25]:

POL(0) = 0   
POL(ISNATLIST(x1)) = x1   
POL(U11(x1, x2)) = 0   
POL(U12(x1)) = 0   
POL(U21(x1, x2)) = 0   
POL(U22(x1)) = 0   
POL(U31(x1, x2)) = 1 + x2   
POL(U32(x1)) = x1   
POL(U41(x1, x2, x3)) = x1   
POL(U42(x1, x2)) = 0   
POL(U43(x1)) = 0   
POL(U51(x1, x2, x3)) = x2   
POL(U511(x1, x2, x3)) = x2 + x3   
POL(U52(x1, x2)) = 0   
POL(U521(x1, x2)) = x2   
POL(U53(x1)) = 0   
POL(U61(x1, x2, x3)) = 0   
POL(U62(x1, x2)) = 0   
POL(U63(x1)) = 0   
POL(U71(x1, x2)) = x2   
POL(U81(x1)) = 0   
POL(U91(x1, x2, x3, x4)) = x2 + x4   
POL(activate(x1)) = x1   
POL(and(x1, x2)) = x2   
POL(cons(x1, x2)) = x1 + x2   
POL(isNat(x1)) = 0   
POL(isNatIList(x1)) = 1 + x1   
POL(isNatIListKind(x1)) = 1   
POL(isNatKind(x1)) = 1   
POL(isNatList(x1)) = x1   
POL(length(x1)) = x1   
POL(n__0) = 0   
POL(n__and(x1, x2)) = x2   
POL(n__cons(x1, x2)) = x1 + x2   
POL(n__isNatIListKind(x1)) = 1   
POL(n__isNatKind(x1)) = 1   
POL(n__length(x1)) = x1   
POL(n__nil) = 0   
POL(n__s(x1)) = 0   
POL(n__take(x1, x2)) = x2   
POL(n__zeros) = 0   
POL(nil) = 0   
POL(s(x1)) = 0   
POL(take(x1, x2)) = x2   
POL(tt) = 0   
POL(zeros) = 0   

The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
QDP
                                                                                                                                                  ↳ QDPOrderProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__length(x0)) → ISNATLIST(length(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U521(tt, n__length(x0)) → ISNATLIST(length(x0))
The remaining pairs can at least be oriented weakly.

U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))
Used ordering: Matrix interpretation [3]:
Non-tuple symbols:
M( U62(x1, x2) ) =
/1\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( U52(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\01/
·x2

M( U61(x1, ..., x3) ) =
/1\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\00/
·x3

M( U81(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U41(x1, ..., x3) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\00/
·x3

M( activate(x1) ) =
/0\
\0/
+
/10\
\01/
·x1

M( n__nil ) =
/0\
\0/

M( and(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/10\
\01/
·x2

M( n__s(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( take(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\01/
·x2

M( U71(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( U21(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( isNatIListKind(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( tt ) =
/0\
\0/

M( isNatList(x1) ) =
/1\
\0/
+
/00\
\01/
·x1

M( zeros ) =
/0\
\0/

M( isNatIList(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U12(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( s(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( isNat(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U51(x1, ..., x3) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\01/
·x3

M( nil ) =
/0\
\0/

M( U91(x1, ..., x4) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\01/
·x2+
/00\
\00/
·x3+
/00\
\00/
·x4

M( U31(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( n__length(x1) ) =
/1\
\0/
+
/00\
\00/
·x1

M( U42(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( n__isNatKind(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__zeros ) =
/0\
\0/

M( n__cons(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\11/
·x2

M( U11(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( isNatKind(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U63(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( 0 ) =
/0\
\0/

M( U43(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__and(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/10\
\01/
·x2

M( cons(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\11/
·x2

M( U22(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U53(x1) ) =
/0\
\0/
+
/00\
\01/
·x1

M( n__0 ) =
/0\
\0/

M( U32(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__take(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\01/
·x2

M( n__isNatIListKind(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( length(x1) ) =
/1\
\0/
+
/00\
\00/
·x1

Tuple symbols:
M( U511(x1, ..., x3) ) = 0+
[0,0]
·x1+
[0,0]
·x2+
[1,1]
·x3

M( U521(x1, x2) ) = 0+
[0,0]
·x1+
[1,1]
·x2

M( ISNATLIST(x1) ) = 0+
[0,1]
·x1


Matrix type:
We used a basic matrix type which is not further parametrizeable.


As matrix orders are CE-compatible, we used usable rules w.r.t. argument filtering in the order.
The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
QDP
                                                                                                                                                      ↳ QDPOrderProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U521(tt, n__isNatIListKind(x0)) → ISNATLIST(isNatIListKind(x0))
The remaining pairs can at least be oriented weakly.

U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))
Used ordering: Matrix interpretation [3]:
Non-tuple symbols:
M( U62(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( U52(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( U61(x1, ..., x3) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\00/
·x3

M( U81(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U41(x1, ..., x3) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\00/
·x3

M( activate(x1) ) =
/0\
\0/
+
/10\
\01/
·x1

M( n__nil ) =
/0\
\0/

M( and(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/10\
\01/
·x2

M( n__s(x1) ) =
/0\
\0/
+
/10\
\00/
·x1

M( take(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( U71(x1, x2) ) =
/1\
\0/
+
/00\
\00/
·x1+
/01\
\00/
·x2

M( U21(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( isNatIListKind(x1) ) =
/1\
\0/
+
/00\
\00/
·x1

M( tt ) =
/0\
\0/

M( isNatList(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( zeros ) =
/0\
\0/

M( isNatIList(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U12(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( s(x1) ) =
/0\
\0/
+
/10\
\00/
·x1

M( isNat(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U51(x1, ..., x3) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\00/
·x3

M( nil ) =
/0\
\0/

M( U91(x1, ..., x4) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\00/
·x3+
/00\
\00/
·x4

M( U31(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( n__length(x1) ) =
/1\
\0/
+
/01\
\00/
·x1

M( U42(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( n__isNatKind(x1) ) =
/0\
\0/
+
/10\
\00/
·x1

M( n__zeros ) =
/0\
\0/

M( n__cons(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\11/
·x2

M( U11(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( isNatKind(x1) ) =
/0\
\0/
+
/10\
\00/
·x1

M( U63(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( 0 ) =
/0\
\0/

M( U43(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__and(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/10\
\01/
·x2

M( cons(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\11/
·x2

M( U22(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U53(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__0 ) =
/0\
\0/

M( U32(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__take(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( n__isNatIListKind(x1) ) =
/1\
\0/
+
/00\
\00/
·x1

M( length(x1) ) =
/1\
\0/
+
/01\
\00/
·x1

Tuple symbols:
M( U511(x1, ..., x3) ) = 0+
[0,0]
·x1+
[0,0]
·x2+
[1,1]
·x3

M( U521(x1, x2) ) = 0+
[0,0]
·x1+
[1,1]
·x2

M( ISNATLIST(x1) ) = 0+
[0,1]
·x1


Matrix type:
We used a basic matrix type which is not further parametrizeable.


As matrix orders are CE-compatible, we used usable rules w.r.t. argument filtering in the order.
The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
QDP
                                                                                                                                                          ↳ QDPOrderProof
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U521(tt, n__isNatKind(x0)) → ISNATLIST(isNatKind(x0))
The remaining pairs can at least be oriented weakly.

U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))
Used ordering: Matrix interpretation [3]:
Non-tuple symbols:
M( U62(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( U52(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( U61(x1, ..., x3) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\00/
·x3

M( U81(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U41(x1, ..., x3) ) =
/1\
\1/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/11\
\11/
·x3

M( activate(x1) ) =
/0\
\0/
+
/10\
\01/
·x1

M( n__nil ) =
/0\
\0/

M( and(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/10\
\01/
·x2

M( n__s(x1) ) =
/0\
\0/
+
/00\
\01/
·x1

M( take(x1, x2) ) =
/0\
\0/
+
/00\
\01/
·x1+
/00\
\00/
·x2

M( U71(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\11/
·x2

M( U21(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( isNatIListKind(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( tt ) =
/0\
\0/

M( isNatList(x1) ) =
/0\
\0/
+
/01\
\00/
·x1

M( zeros ) =
/0\
\0/

M( isNatIList(x1) ) =
/1\
\1/
+
/01\
\01/
·x1

M( U12(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( s(x1) ) =
/0\
\0/
+
/00\
\01/
·x1

M( isNat(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U51(x1, ..., x3) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/01\
\00/
·x3

M( nil ) =
/0\
\0/

M( U91(x1, ..., x4) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\01/
·x3+
/00\
\00/
·x4

M( U31(x1, x2) ) =
/0\
\1/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( n__length(x1) ) =
/0\
\0/
+
/00\
\11/
·x1

M( U42(x1, x2) ) =
/1\
\1/
+
/00\
\00/
·x1+
/00\
\01/
·x2

M( n__isNatKind(x1) ) =
/1\
\1/
+
/00\
\00/
·x1

M( n__zeros ) =
/0\
\0/

M( n__cons(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\11/
·x2

M( U11(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\00/
·x2

M( isNatKind(x1) ) =
/1\
\1/
+
/00\
\00/
·x1

M( U63(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( 0 ) =
/0\
\0/

M( U43(x1) ) =
/1\
\1/
+
/00\
\00/
·x1

M( n__and(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/10\
\01/
·x2

M( cons(x1, x2) ) =
/0\
\0/
+
/00\
\00/
·x1+
/00\
\11/
·x2

M( U22(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( U53(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__0 ) =
/0\
\0/

M( U32(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( n__take(x1, x2) ) =
/0\
\0/
+
/00\
\01/
·x1+
/00\
\00/
·x2

M( n__isNatIListKind(x1) ) =
/0\
\0/
+
/00\
\00/
·x1

M( length(x1) ) =
/0\
\0/
+
/00\
\11/
·x1

Tuple symbols:
M( U511(x1, ..., x3) ) = 0+
[0,0]
·x1+
[0,0]
·x2+
[1,1]
·x3

M( U521(x1, x2) ) = 0+
[0,0]
·x1+
[1,1]
·x2

M( ISNATLIST(x1) ) = 0+
[0,1]
·x1


Matrix type:
We used a basic matrix type which is not further parametrizeable.


As matrix orders are CE-compatible, we used usable rules w.r.t. argument filtering in the order.
The following usable rules [17] were oriented:

zeroscons(0, n__zeros)
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
U81(tt) → nil
U62(tt, V2) → U63(isNatIList(activate(V2)))
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U71(tt, L) → s(length(activate(L)))
U63(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U43(tt) → tt
U53(tt) → tt
U52(tt, V2) → U53(isNatList(activate(V2)))
U32(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
isNatKind(n__0) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
activate(n__0) → 0
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__zeros) → zeros
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
niln__nil
isNatIListKind(X) → n__isNatIListKind(X)
cons(X1, X2) → n__cons(X1, X2)
s(X) → n__s(X)
length(X) → n__length(X)
0n__0
take(X1, X2) → n__take(X1, X2)
zerosn__zeros
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
activate(X) → X
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
activate(n__isNatIListKind(X)) → isNatIListKind(X)
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatKind(X)) → isNatKind(X)
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
QDP
                                                                                                                                                              ↳ SemLabProof
                                                                                                                                                              ↳ SemLabProof2
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521(tt, x0) → ISNATLIST(x0)
U511(tt, n__and(x0, x1), y1) → U521(isNat(and(x0, x1)), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We found the following model for the rules of the TRS R. Interpretation over the domain with elements from 0 to 1.U521: 0
U52: 0
U62: 0
U41: 0
U61: 0
U81: 1
activate: x0
n__nil: 1
n__s: 0
and: x1
take: x0
isNatIListKind: 0
U21: 0
U71: 0
ISNATLIST: 0
tt: 0
isNatList: 0
zeros: 0
isNatIList: 0
U12: 0
s: 0
isNat: 0
U51: 0
nil: 1
U91: 0
U31: 0
n__length: x0
n__isNatKind: 0
U42: 0
n__zeros: 0
n__cons: 0
isNatKind: 0
U11: 0
U63: 0
0: 1
U43: 0
n__and: x1
U511: 0
cons: 0
U22: 0
U53: 0
n__0: 1
U32: 0
n__take: x0
n__isNatIListKind: 0
length: x0
By semantic labelling [33] we obtain the following labelled TRS:Q DP problem:
The TRS P consists of the following rules:

U521.0-0(tt., n__cons.1-1(x0, x1)) → ISNATLIST.0(n__cons.1-1(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U511.0-1-1(tt., n__and.1-1(x0, x1), y1) → U521.0-1(isNat.1(and.1-1(x0, x1)), activate.1(y1))
U511.0-1-1(tt., n__and.0-1(x0, x1), y1) → U521.0-1(isNat.1(and.0-1(x0, x1)), activate.1(y1))
ISNATLIST.0(n__cons.1-1(V1, V2)) → U511.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U511.0-0-1(tt., x0, y1) → U521.0-1(isNat.0(x0), activate.1(y1))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__cons.0-1(x0, x1)) → ISNATLIST.0(n__cons.0-1(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-1(tt., x0, y1) → U521.0-1(isNat.1(x0), activate.1(y1))
U511.0-0-0(tt., n__and.1-0(x0, x1), y1) → U521.0-0(isNat.0(and.1-0(x0, x1)), activate.0(y1))
U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U521.0-1(tt., n__take.1-1(x0, x1)) → ISNATLIST.1(take.1-1(x0, x1))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-1(tt., n__and.0-1(x0, x1)) → ISNATLIST.1(and.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
ISNATLIST.0(n__cons.0-1(V1, V2)) → U511.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U521.0-1(tt., n__and.1-1(x0, x1)) → ISNATLIST.1(and.1-1(x0, x1))
U511.0-1-1(tt., n__0., y0) → U521.0-1(isNat.1(n__0.), activate.1(y0))
U511.0-0-1(tt., n__and.0-0(x0, x1), y1) → U521.0-1(isNat.0(and.0-0(x0, x1)), activate.1(y1))
U511.0-0-1(tt., n__and.1-0(x0, x1), y1) → U521.0-1(isNat.0(and.1-0(x0, x1)), activate.1(y1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U511.0-1-0(tt., n__and.0-1(x0, x1), y1) → U521.0-0(isNat.1(and.0-1(x0, x1)), activate.0(y1))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
U511.0-1-0(tt., n__and.1-1(x0, x1), y1) → U521.0-0(isNat.1(and.1-1(x0, x1)), activate.0(y1))
U521.0-1(tt., x0) → ISNATLIST.1(x0)
U521.0-1(tt., n__take.1-0(x0, x1)) → ISNATLIST.1(take.1-0(x0, x1))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))

The TRS R consists of the following rules:

U12.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
U53.0(tt.) → tt.
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
activate.1(n__0.) → 0.
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
activate.0(n__zeros.) → zeros.
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
and.0-1(tt., X) → activate.1(X)
and.0-0(X1, X2) → n__and.0-0(X1, X2)
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U81.0(tt.) → nil.
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
activate.0(n__s.0(X)) → s.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
length.1(nil.) → 0.
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
zeros.cons.1-0(0., n__zeros.)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
U63.0(tt.) → tt.
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
isNat.1(n__0.) → tt.
and.0-1(X1, X2) → n__and.0-1(X1, X2)
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
take.0-0(X1, X2) → n__take.0-0(X1, X2)
zeros.n__zeros.
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U43.0(tt.) → tt.
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
s.1(X) → n__s.1(X)
U22.0(tt.) → tt.
isNatIListKind.1(X) → n__isNatIListKind.1(X)
take.1-0(X1, X2) → n__take.1-0(X1, X2)
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
isNatIListKind.0(n__zeros.) → tt.
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.1(n__nil.) → nil.
activate.0(n__length.0(X)) → length.0(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(X) → n__isNatKind.1(X)
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIList.0(n__zeros.) → tt.
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
isNatList.1(n__nil.) → tt.
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ SemLabProof
QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                              ↳ SemLabProof2
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521.0-0(tt., n__cons.1-1(x0, x1)) → ISNATLIST.0(n__cons.1-1(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U511.0-1-1(tt., n__and.1-1(x0, x1), y1) → U521.0-1(isNat.1(and.1-1(x0, x1)), activate.1(y1))
U511.0-1-1(tt., n__and.0-1(x0, x1), y1) → U521.0-1(isNat.1(and.0-1(x0, x1)), activate.1(y1))
ISNATLIST.0(n__cons.1-1(V1, V2)) → U511.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U511.0-0-1(tt., x0, y1) → U521.0-1(isNat.0(x0), activate.1(y1))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__cons.0-1(x0, x1)) → ISNATLIST.0(n__cons.0-1(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-1(tt., x0, y1) → U521.0-1(isNat.1(x0), activate.1(y1))
U511.0-0-0(tt., n__and.1-0(x0, x1), y1) → U521.0-0(isNat.0(and.1-0(x0, x1)), activate.0(y1))
U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U521.0-1(tt., n__take.1-1(x0, x1)) → ISNATLIST.1(take.1-1(x0, x1))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-1(tt., n__and.0-1(x0, x1)) → ISNATLIST.1(and.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
ISNATLIST.0(n__cons.0-1(V1, V2)) → U511.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U521.0-1(tt., n__and.1-1(x0, x1)) → ISNATLIST.1(and.1-1(x0, x1))
U511.0-1-1(tt., n__0., y0) → U521.0-1(isNat.1(n__0.), activate.1(y0))
U511.0-0-1(tt., n__and.0-0(x0, x1), y1) → U521.0-1(isNat.0(and.0-0(x0, x1)), activate.1(y1))
U511.0-0-1(tt., n__and.1-0(x0, x1), y1) → U521.0-1(isNat.0(and.1-0(x0, x1)), activate.1(y1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U511.0-1-0(tt., n__and.0-1(x0, x1), y1) → U521.0-0(isNat.1(and.0-1(x0, x1)), activate.0(y1))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
U511.0-1-0(tt., n__and.1-1(x0, x1), y1) → U521.0-0(isNat.1(and.1-1(x0, x1)), activate.0(y1))
U521.0-1(tt., x0) → ISNATLIST.1(x0)
U521.0-1(tt., n__take.1-0(x0, x1)) → ISNATLIST.1(take.1-0(x0, x1))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))

The TRS R consists of the following rules:

U12.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
U53.0(tt.) → tt.
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
activate.1(n__0.) → 0.
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
activate.0(n__zeros.) → zeros.
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
and.0-1(tt., X) → activate.1(X)
and.0-0(X1, X2) → n__and.0-0(X1, X2)
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U81.0(tt.) → nil.
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
activate.0(n__s.0(X)) → s.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
length.1(nil.) → 0.
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
zeros.cons.1-0(0., n__zeros.)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
U63.0(tt.) → tt.
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
isNat.1(n__0.) → tt.
and.0-1(X1, X2) → n__and.0-1(X1, X2)
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
take.0-0(X1, X2) → n__take.0-0(X1, X2)
zeros.n__zeros.
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U43.0(tt.) → tt.
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
s.1(X) → n__s.1(X)
U22.0(tt.) → tt.
isNatIListKind.1(X) → n__isNatIListKind.1(X)
take.1-0(X1, X2) → n__take.1-0(X1, X2)
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
isNatIListKind.0(n__zeros.) → tt.
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.1(n__nil.) → nil.
activate.0(n__length.0(X)) → length.0(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(X) → n__isNatKind.1(X)
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIList.0(n__zeros.) → tt.
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
isNatList.1(n__nil.) → tt.
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 16 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ SemLabProof
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
QDP
                                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                              ↳ SemLabProof2
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U511.0-1-0(tt., n__and.0-1(x0, x1), y1) → U521.0-0(isNat.1(and.0-1(x0, x1)), activate.0(y1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
U511.0-1-0(tt., n__and.1-1(x0, x1), y1) → U521.0-0(isNat.1(and.1-1(x0, x1)), activate.0(y1))
U511.0-0-0(tt., n__and.1-0(x0, x1), y1) → U521.0-0(isNat.0(and.1-0(x0, x1)), activate.0(y1))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))

The TRS R consists of the following rules:

U12.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
U53.0(tt.) → tt.
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
activate.1(n__0.) → 0.
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
activate.0(n__zeros.) → zeros.
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
and.0-1(tt., X) → activate.1(X)
and.0-0(X1, X2) → n__and.0-0(X1, X2)
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U81.0(tt.) → nil.
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
activate.0(n__s.0(X)) → s.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
length.1(nil.) → 0.
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
zeros.cons.1-0(0., n__zeros.)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
U63.0(tt.) → tt.
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
isNat.1(n__0.) → tt.
and.0-1(X1, X2) → n__and.0-1(X1, X2)
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
take.0-0(X1, X2) → n__take.0-0(X1, X2)
zeros.n__zeros.
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U43.0(tt.) → tt.
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
s.1(X) → n__s.1(X)
U22.0(tt.) → tt.
isNatIListKind.1(X) → n__isNatIListKind.1(X)
take.1-0(X1, X2) → n__take.1-0(X1, X2)
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
isNatIListKind.0(n__zeros.) → tt.
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.1(n__nil.) → nil.
activate.0(n__length.0(X)) → length.0(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(X) → n__isNatKind.1(X)
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIList.0(n__zeros.) → tt.
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
isNatList.1(n__nil.) → tt.
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U511.0-0-0(tt., n__and.1-0(x0, x1), y1) → U521.0-0(isNat.0(and.1-0(x0, x1)), activate.0(y1))
The remaining pairs can at least be oriented weakly.

U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U511.0-1-0(tt., n__and.0-1(x0, x1), y1) → U521.0-0(isNat.1(and.0-1(x0, x1)), activate.0(y1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
U511.0-1-0(tt., n__and.1-1(x0, x1), y1) → U521.0-0(isNat.1(and.1-1(x0, x1)), activate.0(y1))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
Used ordering: Polynomial interpretation [25]:

POL(0.) = 0   
POL(ISNATLIST.0(x1)) = x1   
POL(U11.0-0(x1, x2)) = 0   
POL(U11.0-1(x1, x2)) = 0   
POL(U12.0(x1)) = 0   
POL(U21.0-0(x1, x2)) = 0   
POL(U21.0-1(x1, x2)) = 0   
POL(U22.0(x1)) = 0   
POL(U31.0-0(x1, x2)) = 0   
POL(U31.0-1(x1, x2)) = 1   
POL(U32.0(x1)) = 0   
POL(U41.0-0-0(x1, x2, x3)) = x2   
POL(U41.0-0-1(x1, x2, x3)) = 0   
POL(U41.0-1-0(x1, x2, x3)) = 0   
POL(U41.0-1-1(x1, x2, x3)) = 0   
POL(U42.0-0(x1, x2)) = 0   
POL(U42.0-1(x1, x2)) = 0   
POL(U43.0(x1)) = 0   
POL(U51.0-0-0(x1, x2, x3)) = x3   
POL(U51.0-0-1(x1, x2, x3)) = 0   
POL(U51.0-1-0(x1, x2, x3)) = x3   
POL(U51.0-1-1(x1, x2, x3)) = x3   
POL(U511.0-0-0(x1, x2, x3)) = x2 + x3   
POL(U511.0-1-0(x1, x2, x3)) = x3   
POL(U52.0-0(x1, x2)) = 0   
POL(U52.0-1(x1, x2)) = 0   
POL(U521.0-0(x1, x2)) = x2   
POL(U53.0(x1)) = 0   
POL(U61.0-0-0(x1, x2, x3)) = 0   
POL(U61.0-0-1(x1, x2, x3)) = 0   
POL(U61.0-1-0(x1, x2, x3)) = 0   
POL(U61.0-1-1(x1, x2, x3)) = 0   
POL(U62.0-0(x1, x2)) = 0   
POL(U62.0-1(x1, x2)) = 0   
POL(U63.0(x1)) = 0   
POL(U71.0-0(x1, x2)) = 0   
POL(U71.0-1(x1, x2)) = 0   
POL(U81.0(x1)) = 0   
POL(U91.0-0-0-0(x1, x2, x3, x4)) = 1 + x2 + x4   
POL(U91.0-0-0-1(x1, x2, x3, x4)) = 1 + x2   
POL(U91.0-0-1-0(x1, x2, x3, x4)) = x2 + x4   
POL(U91.0-0-1-1(x1, x2, x3, x4)) = x2   
POL(U91.0-1-0-0(x1, x2, x3, x4)) = x4   
POL(U91.0-1-0-1(x1, x2, x3, x4)) = 1 + x2   
POL(U91.0-1-1-0(x1, x2, x3, x4)) = 1 + x4   
POL(U91.0-1-1-1(x1, x2, x3, x4)) = 0   
POL(activate.0(x1)) = x1   
POL(activate.1(x1)) = x1   
POL(and.0-0(x1, x2)) = x2   
POL(and.0-1(x1, x2)) = x2   
POL(and.1-0(x1, x2)) = 1   
POL(and.1-1(x1, x2)) = 0   
POL(cons.0-0(x1, x2)) = x1 + x2   
POL(cons.0-1(x1, x2)) = x1   
POL(cons.1-0(x1, x2)) = x2   
POL(cons.1-1(x1, x2)) = x2   
POL(isNat.0(x1)) = 0   
POL(isNat.1(x1)) = 0   
POL(isNatIList.0(x1)) = x1   
POL(isNatIList.1(x1)) = 1   
POL(isNatIListKind.0(x1)) = 0   
POL(isNatIListKind.1(x1)) = 0   
POL(isNatKind.0(x1)) = 0   
POL(isNatKind.1(x1)) = 0   
POL(isNatList.0(x1)) = x1   
POL(isNatList.1(x1)) = 0   
POL(length.0(x1)) = 0   
POL(length.1(x1)) = 0   
POL(n__0.) = 0   
POL(n__and.0-0(x1, x2)) = x2   
POL(n__and.0-1(x1, x2)) = x2   
POL(n__and.1-0(x1, x2)) = 1   
POL(n__and.1-1(x1, x2)) = 0   
POL(n__cons.0-0(x1, x2)) = x1 + x2   
POL(n__cons.0-1(x1, x2)) = x1   
POL(n__cons.1-0(x1, x2)) = x2   
POL(n__cons.1-1(x1, x2)) = x2   
POL(n__isNatIListKind.0(x1)) = 0   
POL(n__isNatIListKind.1(x1)) = 0   
POL(n__isNatKind.0(x1)) = 0   
POL(n__isNatKind.1(x1)) = 0   
POL(n__length.0(x1)) = 0   
POL(n__length.1(x1)) = 0   
POL(n__nil.) = 0   
POL(n__s.0(x1)) = 0   
POL(n__s.1(x1)) = x1   
POL(n__take.0-0(x1, x2)) = 1 + x2   
POL(n__take.0-1(x1, x2)) = 0   
POL(n__take.1-0(x1, x2)) = 0   
POL(n__take.1-1(x1, x2)) = 0   
POL(n__zeros.) = 0   
POL(nil.) = 0   
POL(s.0(x1)) = 0   
POL(s.1(x1)) = x1   
POL(take.0-0(x1, x2)) = 1 + x2   
POL(take.0-1(x1, x2)) = 0   
POL(take.1-0(x1, x2)) = 0   
POL(take.1-1(x1, x2)) = 0   
POL(tt.) = 0   
POL(zeros.) = 0   

The following usable rules [17] were oriented:

U43.0(tt.) → tt.
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
take.0-0(X1, X2) → n__take.0-0(X1, X2)
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
zeros.n__zeros.
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
and.0-1(X1, X2) → n__and.0-1(X1, X2)
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
and.0-1(tt., X) → activate.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
length.1(nil.) → 0.
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__s.0(X)) → s.0(X)
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U63.0(tt.) → tt.
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
zeros.cons.1-0(0., n__zeros.)
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
isNatKind.1(X) → n__isNatKind.1(X)
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.0(n__length.0(X)) → length.0(X)
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
take.1-0(X1, X2) → n__take.1-0(X1, X2)
isNatIListKind.1(X) → n__isNatIListKind.1(X)
U22.0(tt.) → tt.
s.1(X) → n__s.1(X)
activate.1(n__nil.) → nil.
isNatIListKind.0(n__zeros.) → tt.
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
U12.0(tt.) → tt.
U53.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
activate.1(n__0.) → 0.
activate.0(n__zeros.) → zeros.
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
and.0-0(X1, X2) → n__and.0-0(X1, X2)
U81.0(tt.) → nil.
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ SemLabProof
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                                    ↳ QDP
                                                                                                                                                                      ↳ QDPOrderProof
QDP
                                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                              ↳ SemLabProof2
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__and.0-1(x0, x1), y1) → U521.0-0(isNat.1(and.0-1(x0, x1)), activate.0(y1))
U511.0-1-0(tt., n__and.1-1(x0, x1), y1) → U521.0-0(isNat.1(and.1-1(x0, x1)), activate.0(y1))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))

The TRS R consists of the following rules:

U12.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
U53.0(tt.) → tt.
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
activate.1(n__0.) → 0.
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
activate.0(n__zeros.) → zeros.
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
and.0-1(tt., X) → activate.1(X)
and.0-0(X1, X2) → n__and.0-0(X1, X2)
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U81.0(tt.) → nil.
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
activate.0(n__s.0(X)) → s.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
length.1(nil.) → 0.
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
zeros.cons.1-0(0., n__zeros.)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
U63.0(tt.) → tt.
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
isNat.1(n__0.) → tt.
and.0-1(X1, X2) → n__and.0-1(X1, X2)
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
take.0-0(X1, X2) → n__take.0-0(X1, X2)
zeros.n__zeros.
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U43.0(tt.) → tt.
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
s.1(X) → n__s.1(X)
U22.0(tt.) → tt.
isNatIListKind.1(X) → n__isNatIListKind.1(X)
take.1-0(X1, X2) → n__take.1-0(X1, X2)
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
isNatIListKind.0(n__zeros.) → tt.
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.1(n__nil.) → nil.
activate.0(n__length.0(X)) → length.0(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(X) → n__isNatKind.1(X)
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIList.0(n__zeros.) → tt.
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
isNatList.1(n__nil.) → tt.
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


U511.0-1-0(tt., n__and.0-1(x0, x1), y1) → U521.0-0(isNat.1(and.0-1(x0, x1)), activate.0(y1))
U511.0-1-0(tt., n__and.1-1(x0, x1), y1) → U521.0-0(isNat.1(and.1-1(x0, x1)), activate.0(y1))
The remaining pairs can at least be oriented weakly.

U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
Used ordering: Polynomial interpretation [25]:

POL(0.) = 0   
POL(ISNATLIST.0(x1)) = x1   
POL(U11.0-0(x1, x2)) = 0   
POL(U11.0-1(x1, x2)) = 0   
POL(U12.0(x1)) = 0   
POL(U21.0-0(x1, x2)) = 0   
POL(U21.0-1(x1, x2)) = 0   
POL(U22.0(x1)) = 0   
POL(U31.0-0(x1, x2)) = 0   
POL(U31.0-1(x1, x2)) = 1   
POL(U32.0(x1)) = 0   
POL(U41.0-0-0(x1, x2, x3)) = x2   
POL(U41.0-0-1(x1, x2, x3)) = x3   
POL(U41.0-1-0(x1, x2, x3)) = 0   
POL(U41.0-1-1(x1, x2, x3)) = 0   
POL(U42.0-0(x1, x2)) = 0   
POL(U42.0-1(x1, x2)) = 0   
POL(U43.0(x1)) = 0   
POL(U51.0-0-0(x1, x2, x3)) = 0   
POL(U51.0-0-1(x1, x2, x3)) = 0   
POL(U51.0-1-0(x1, x2, x3)) = 0   
POL(U51.0-1-1(x1, x2, x3)) = 0   
POL(U511.0-0-0(x1, x2, x3)) = x3   
POL(U511.0-1-0(x1, x2, x3)) = x2 + x3   
POL(U52.0-0(x1, x2)) = 0   
POL(U52.0-1(x1, x2)) = 0   
POL(U521.0-0(x1, x2)) = x2   
POL(U53.0(x1)) = 0   
POL(U61.0-0-0(x1, x2, x3)) = 0   
POL(U61.0-0-1(x1, x2, x3)) = 0   
POL(U61.0-1-0(x1, x2, x3)) = 0   
POL(U61.0-1-1(x1, x2, x3)) = 0   
POL(U62.0-0(x1, x2)) = 0   
POL(U62.0-1(x1, x2)) = 0   
POL(U63.0(x1)) = 0   
POL(U71.0-0(x1, x2)) = 0   
POL(U71.0-1(x1, x2)) = 0   
POL(U81.0(x1)) = 0   
POL(U91.0-0-0-0(x1, x2, x3, x4)) = x2 + x4   
POL(U91.0-0-0-1(x1, x2, x3, x4)) = x2 + x4   
POL(U91.0-0-1-0(x1, x2, x3, x4)) = x2 + x4   
POL(U91.0-0-1-1(x1, x2, x3, x4)) = x4   
POL(U91.0-1-0-0(x1, x2, x3, x4)) = x2 + x4   
POL(U91.0-1-0-1(x1, x2, x3, x4)) = x4   
POL(U91.0-1-1-0(x1, x2, x3, x4)) = x2 + x4   
POL(U91.0-1-1-1(x1, x2, x3, x4)) = x4   
POL(activate.0(x1)) = x1   
POL(activate.1(x1)) = x1   
POL(and.0-0(x1, x2)) = x2   
POL(and.0-1(x1, x2)) = 1 + x2   
POL(and.1-0(x1, x2)) = x1   
POL(and.1-1(x1, x2)) = 1   
POL(cons.0-0(x1, x2)) = x1 + x2   
POL(cons.0-1(x1, x2)) = x1 + x2   
POL(cons.1-0(x1, x2)) = x1 + x2   
POL(cons.1-1(x1, x2)) = x1   
POL(isNat.0(x1)) = 0   
POL(isNat.1(x1)) = 0   
POL(isNatIList.0(x1)) = x1   
POL(isNatIList.1(x1)) = 1 + x1   
POL(isNatIListKind.0(x1)) = 0   
POL(isNatIListKind.1(x1)) = 0   
POL(isNatKind.0(x1)) = 0   
POL(isNatKind.1(x1)) = 0   
POL(isNatList.0(x1)) = 0   
POL(isNatList.1(x1)) = 0   
POL(length.0(x1)) = 0   
POL(length.1(x1)) = 0   
POL(n__0.) = 0   
POL(n__and.0-0(x1, x2)) = x2   
POL(n__and.0-1(x1, x2)) = 1 + x2   
POL(n__and.1-0(x1, x2)) = x1   
POL(n__and.1-1(x1, x2)) = 1   
POL(n__cons.0-0(x1, x2)) = x1 + x2   
POL(n__cons.0-1(x1, x2)) = x1 + x2   
POL(n__cons.1-0(x1, x2)) = x1 + x2   
POL(n__cons.1-1(x1, x2)) = x1   
POL(n__isNatIListKind.0(x1)) = 0   
POL(n__isNatIListKind.1(x1)) = 0   
POL(n__isNatKind.0(x1)) = 0   
POL(n__isNatKind.1(x1)) = 0   
POL(n__length.0(x1)) = 0   
POL(n__length.1(x1)) = 0   
POL(n__nil.) = 0   
POL(n__s.0(x1)) = 0   
POL(n__s.1(x1)) = 0   
POL(n__take.0-0(x1, x2)) = x2   
POL(n__take.0-1(x1, x2)) = 0   
POL(n__take.1-0(x1, x2)) = 0   
POL(n__take.1-1(x1, x2)) = x2   
POL(n__zeros.) = 0   
POL(nil.) = 0   
POL(s.0(x1)) = 0   
POL(s.1(x1)) = 0   
POL(take.0-0(x1, x2)) = x2   
POL(take.0-1(x1, x2)) = 0   
POL(take.1-0(x1, x2)) = 0   
POL(take.1-1(x1, x2)) = x2   
POL(tt.) = 0   
POL(zeros.) = 0   

The following usable rules [17] were oriented:

U43.0(tt.) → tt.
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
take.0-0(X1, X2) → n__take.0-0(X1, X2)
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
zeros.n__zeros.
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
and.0-1(X1, X2) → n__and.0-1(X1, X2)
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
and.0-1(tt., X) → activate.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
length.1(nil.) → 0.
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__s.0(X)) → s.0(X)
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U63.0(tt.) → tt.
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
zeros.cons.1-0(0., n__zeros.)
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
isNatKind.1(X) → n__isNatKind.1(X)
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.0(n__length.0(X)) → length.0(X)
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
take.1-0(X1, X2) → n__take.1-0(X1, X2)
isNatIListKind.1(X) → n__isNatIListKind.1(X)
U22.0(tt.) → tt.
s.1(X) → n__s.1(X)
activate.1(n__nil.) → nil.
isNatIListKind.0(n__zeros.) → tt.
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
U12.0(tt.) → tt.
U53.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
activate.1(n__0.) → 0.
activate.0(n__zeros.) → zeros.
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
and.0-0(X1, X2) → n__and.0-0(X1, X2)
U81.0(tt.) → nil.
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ SemLabProof
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                                    ↳ QDP
                                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                                        ↳ QDP
                                                                                                                                                                          ↳ QDPOrderProof
QDP
                                                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                              ↳ SemLabProof2
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))

The TRS R consists of the following rules:

U12.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
U53.0(tt.) → tt.
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
activate.1(n__0.) → 0.
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
activate.0(n__zeros.) → zeros.
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
and.0-1(tt., X) → activate.1(X)
and.0-0(X1, X2) → n__and.0-0(X1, X2)
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U81.0(tt.) → nil.
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
activate.0(n__s.0(X)) → s.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
length.1(nil.) → 0.
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
zeros.cons.1-0(0., n__zeros.)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
U63.0(tt.) → tt.
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
isNat.1(n__0.) → tt.
and.0-1(X1, X2) → n__and.0-1(X1, X2)
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
take.0-0(X1, X2) → n__take.0-0(X1, X2)
zeros.n__zeros.
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U43.0(tt.) → tt.
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
s.1(X) → n__s.1(X)
U22.0(tt.) → tt.
isNatIListKind.1(X) → n__isNatIListKind.1(X)
take.1-0(X1, X2) → n__take.1-0(X1, X2)
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
isNatIListKind.0(n__zeros.) → tt.
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.1(n__nil.) → nil.
activate.0(n__length.0(X)) → length.0(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(X) → n__isNatKind.1(X)
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIList.0(n__zeros.) → tt.
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
isNatList.1(n__nil.) → tt.
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


ISNATLIST.0(n__cons.0-0(V1, V2)) → U511.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
The remaining pairs can at least be oriented weakly.

U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
Used ordering: Polynomial interpretation [25]:

POL(0.) = 1   
POL(ISNATLIST.0(x1)) = x1   
POL(U11.0-0(x1, x2)) = 0   
POL(U11.0-1(x1, x2)) = 0   
POL(U12.0(x1)) = 0   
POL(U21.0-0(x1, x2)) = 0   
POL(U21.0-1(x1, x2)) = 0   
POL(U22.0(x1)) = 0   
POL(U31.0-0(x1, x2)) = 0   
POL(U31.0-1(x1, x2)) = 0   
POL(U32.0(x1)) = 0   
POL(U41.0-0-0(x1, x2, x3)) = 1   
POL(U41.0-0-1(x1, x2, x3)) = 1   
POL(U41.0-1-0(x1, x2, x3)) = 1   
POL(U41.0-1-1(x1, x2, x3)) = 1   
POL(U42.0-0(x1, x2)) = 1   
POL(U42.0-1(x1, x2)) = 1   
POL(U43.0(x1)) = 1   
POL(U51.0-0-0(x1, x2, x3)) = 1   
POL(U51.0-0-1(x1, x2, x3)) = 1   
POL(U51.0-1-0(x1, x2, x3)) = 1   
POL(U51.0-1-1(x1, x2, x3)) = 1   
POL(U511.0-0-0(x1, x2, x3)) = x3   
POL(U511.0-1-0(x1, x2, x3)) = x3   
POL(U52.0-0(x1, x2)) = 0   
POL(U52.0-1(x1, x2)) = 1   
POL(U521.0-0(x1, x2)) = x2   
POL(U53.0(x1)) = 0   
POL(U61.0-0-0(x1, x2, x3)) = 1   
POL(U61.0-0-1(x1, x2, x3)) = 1   
POL(U61.0-1-0(x1, x2, x3)) = 1   
POL(U61.0-1-1(x1, x2, x3)) = 1   
POL(U62.0-0(x1, x2)) = 1   
POL(U62.0-1(x1, x2)) = 1   
POL(U63.0(x1)) = 1   
POL(U71.0-0(x1, x2)) = 0   
POL(U71.0-1(x1, x2)) = 0   
POL(U81.0(x1)) = 0   
POL(U91.0-0-0-0(x1, x2, x3, x4)) = 1 + x2   
POL(U91.0-0-0-1(x1, x2, x3, x4)) = x2   
POL(U91.0-0-1-0(x1, x2, x3, x4)) = 1 + x2   
POL(U91.0-0-1-1(x1, x2, x3, x4)) = 0   
POL(U91.0-1-0-0(x1, x2, x3, x4)) = 1   
POL(U91.0-1-0-1(x1, x2, x3, x4)) = x2   
POL(U91.0-1-1-0(x1, x2, x3, x4)) = 1   
POL(U91.0-1-1-1(x1, x2, x3, x4)) = x2   
POL(activate.0(x1)) = x1   
POL(activate.1(x1)) = x1   
POL(and.0-0(x1, x2)) = x2   
POL(and.0-1(x1, x2)) = x1 + x2   
POL(and.1-0(x1, x2)) = 0   
POL(and.1-1(x1, x2)) = x1 + x2   
POL(cons.0-0(x1, x2)) = 1 + x2   
POL(cons.0-1(x1, x2)) = 1   
POL(cons.1-0(x1, x2)) = x2   
POL(cons.1-1(x1, x2)) = x2   
POL(isNat.0(x1)) = 0   
POL(isNat.1(x1)) = x1   
POL(isNatIList.0(x1)) = 1   
POL(isNatIList.1(x1)) = 1 + x1   
POL(isNatIListKind.0(x1)) = 0   
POL(isNatIListKind.1(x1)) = 0   
POL(isNatKind.0(x1)) = 0   
POL(isNatKind.1(x1)) = 0   
POL(isNatList.0(x1)) = 1   
POL(isNatList.1(x1)) = 1   
POL(length.0(x1)) = 0   
POL(length.1(x1)) = 1   
POL(n__0.) = 1   
POL(n__and.0-0(x1, x2)) = x2   
POL(n__and.0-1(x1, x2)) = x1 + x2   
POL(n__and.1-0(x1, x2)) = 0   
POL(n__and.1-1(x1, x2)) = x1 + x2   
POL(n__cons.0-0(x1, x2)) = 1 + x2   
POL(n__cons.0-1(x1, x2)) = 1   
POL(n__cons.1-0(x1, x2)) = x2   
POL(n__cons.1-1(x1, x2)) = x2   
POL(n__isNatIListKind.0(x1)) = 0   
POL(n__isNatIListKind.1(x1)) = 0   
POL(n__isNatKind.0(x1)) = 0   
POL(n__isNatKind.1(x1)) = 0   
POL(n__length.0(x1)) = 0   
POL(n__length.1(x1)) = 1   
POL(n__nil.) = 0   
POL(n__s.0(x1)) = 0   
POL(n__s.1(x1)) = 0   
POL(n__take.0-0(x1, x2)) = x2   
POL(n__take.0-1(x1, x2)) = 0   
POL(n__take.1-0(x1, x2)) = 0   
POL(n__take.1-1(x1, x2)) = 0   
POL(n__zeros.) = 0   
POL(nil.) = 0   
POL(s.0(x1)) = 0   
POL(s.1(x1)) = 0   
POL(take.0-0(x1, x2)) = x2   
POL(take.0-1(x1, x2)) = 0   
POL(take.1-0(x1, x2)) = 0   
POL(take.1-1(x1, x2)) = 0   
POL(tt.) = 0   
POL(zeros.) = 0   

The following usable rules [17] were oriented:

U43.0(tt.) → tt.
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
take.0-0(X1, X2) → n__take.0-0(X1, X2)
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
zeros.n__zeros.
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
and.0-1(X1, X2) → n__and.0-1(X1, X2)
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
and.0-1(tt., X) → activate.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
length.1(nil.) → 0.
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__s.0(X)) → s.0(X)
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U63.0(tt.) → tt.
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
zeros.cons.1-0(0., n__zeros.)
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
isNatKind.1(X) → n__isNatKind.1(X)
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.0(n__length.0(X)) → length.0(X)
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
take.1-0(X1, X2) → n__take.1-0(X1, X2)
isNatIListKind.1(X) → n__isNatIListKind.1(X)
U22.0(tt.) → tt.
s.1(X) → n__s.1(X)
activate.1(n__nil.) → nil.
isNatIListKind.0(n__zeros.) → tt.
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
U12.0(tt.) → tt.
U53.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
activate.1(n__0.) → 0.
activate.0(n__zeros.) → zeros.
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
and.0-0(X1, X2) → n__and.0-0(X1, X2)
U81.0(tt.) → nil.
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ SemLabProof
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                                    ↳ QDP
                                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                                        ↳ QDP
                                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                                            ↳ QDP
                                                                                                                                                                              ↳ QDPOrderProof
QDP
                                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                              ↳ SemLabProof2
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U511.0-0-0(tt., x0, y1) → U521.0-0(isNat.0(x0), activate.0(y1))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
U521.0-0(tt., n__cons.0-0(x0, x1)) → ISNATLIST.0(n__cons.0-0(x0, x1))
U511.0-0-0(tt., n__and.0-0(x0, x1), y1) → U521.0-0(isNat.0(and.0-0(x0, x1)), activate.0(y1))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))

The TRS R consists of the following rules:

U12.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
U53.0(tt.) → tt.
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
activate.1(n__0.) → 0.
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
activate.0(n__zeros.) → zeros.
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
and.0-1(tt., X) → activate.1(X)
and.0-0(X1, X2) → n__and.0-0(X1, X2)
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U81.0(tt.) → nil.
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
activate.0(n__s.0(X)) → s.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
length.1(nil.) → 0.
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
zeros.cons.1-0(0., n__zeros.)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
U63.0(tt.) → tt.
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
isNat.1(n__0.) → tt.
and.0-1(X1, X2) → n__and.0-1(X1, X2)
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
take.0-0(X1, X2) → n__take.0-0(X1, X2)
zeros.n__zeros.
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U43.0(tt.) → tt.
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
s.1(X) → n__s.1(X)
U22.0(tt.) → tt.
isNatIListKind.1(X) → n__isNatIListKind.1(X)
take.1-0(X1, X2) → n__take.1-0(X1, X2)
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
isNatIListKind.0(n__zeros.) → tt.
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.1(n__nil.) → nil.
activate.0(n__length.0(X)) → length.0(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(X) → n__isNatKind.1(X)
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIList.0(n__zeros.) → tt.
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
isNatList.1(n__nil.) → tt.
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 3 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ SemLabProof
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                                    ↳ QDP
                                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                                        ↳ QDP
                                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                                            ↳ QDP
                                                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                                                ↳ QDP
                                                                                                                                                                                  ↳ DependencyGraphProof
QDP
                                                                                                                                                              ↳ SemLabProof2
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521.0-0(tt., n__cons.1-0(x0, x1)) → ISNATLIST.0(n__cons.1-0(x0, x1))
U521.0-0(tt., n__take.0-0(x0, x1)) → ISNATLIST.0(take.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(0., n__zeros.))
U521.0-0(tt., x0) → ISNATLIST.0(x0)
U521.0-0(tt., n__and.0-0(x0, x1)) → ISNATLIST.0(and.0-0(x0, x1))
U521.0-0(tt., n__zeros.) → ISNATLIST.0(n__cons.1-0(n__0., n__zeros.))
U511.0-1-0(tt., n__0., y0) → U521.0-0(isNat.1(n__0.), activate.0(y0))
U521.0-0(tt., n__take.0-1(x0, x1)) → ISNATLIST.0(take.0-1(x0, x1))
U521.0-0(tt., n__and.1-0(x0, x1)) → ISNATLIST.0(and.1-0(x0, x1))
U511.0-1-0(tt., x0, y1) → U521.0-0(isNat.1(x0), activate.0(y1))
ISNATLIST.0(n__cons.1-0(V1, V2)) → U511.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))

The TRS R consists of the following rules:

U12.0(tt.) → tt.
activate.0(n__take.0-1(X1, X2)) → take.0-1(X1, X2)
U53.0(tt.) → tt.
isNatList.1(n__take.1-0(V1, V2)) → U61.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
take.0-0(s.0(M), cons.0-0(N, IL)) → U91.0-0-0-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
activate.1(n__0.) → 0.
isNatIList.0(n__cons.0-1(V1, V2)) → U41.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
isNatIList.1(V) → U31.0-1(isNatIListKind.1(activate.1(V)), activate.1(V))
activate.0(n__zeros.) → zeros.
isNatKind.1(n__length.1(V1)) → isNatIListKind.1(activate.1(V1))
and.0-1(tt., X) → activate.1(X)
and.0-0(X1, X2) → n__and.0-0(X1, X2)
isNat.0(n__s.0(V1)) → U21.0-0(isNatKind.0(activate.0(V1)), activate.0(V1))
U91.0-1-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-1(activate.1(M), activate.1(IL)))
U81.0(tt.) → nil.
U51.0-0-1(tt., V1, V2) → U52.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U61.0-0-1(tt., V1, V2) → U62.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U21.0-1(tt., V1) → U22.0(isNat.1(activate.1(V1)))
activate.0(n__s.0(X)) → s.0(X)
isNatList.0(n__cons.1-1(V1, V2)) → U51.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
length.0(X) → n__length.0(X)
isNatList.0(n__cons.0-1(V1, V2)) → U51.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
length.0(cons.0-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.0(L))
isNatList.0(n__take.0-1(V1, V2)) → U61.0-0-1(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2))), activate.0(V1), activate.1(V2))
U52.0-1(tt., V2) → U53.0(isNatList.1(activate.1(V2)))
cons.1-0(X1, X2) → n__cons.1-0(X1, X2)
length.1(nil.) → 0.
U91.0-0-1-1(tt., IL, M, N) → cons.1-1(activate.1(N), n__take.1-0(activate.1(M), activate.0(IL)))
and.1-1(X1, X2) → n__and.1-1(X1, X2)
isNatIList.0(n__cons.1-1(V1, V2)) → U41.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
activate.0(n__isNatKind.0(X)) → isNatKind.0(X)
U31.0-0(tt., V) → U32.0(isNatList.0(activate.0(V)))
isNatIListKind.1(n__take.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIListKind.0(n__cons.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
zeros.cons.1-0(0., n__zeros.)
activate.0(n__isNatIListKind.0(X)) → isNatIListKind.0(X)
U61.0-0-0(tt., V1, V2) → U62.0-0(isNat.0(activate.0(V1)), activate.0(V2))
cons.0-0(X1, X2) → n__cons.0-0(X1, X2)
activate.0(n__s.1(X)) → s.1(X)
isNatIListKind.0(n__cons.1-1(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2)))
activate.0(n__and.1-0(X1, X2)) → and.1-0(X1, X2)
s.0(X) → n__s.0(X)
activate.0(n__cons.0-0(X1, X2)) → cons.0-0(X1, X2)
isNatIListKind.0(n__take.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
U63.0(tt.) → tt.
isNatIListKind.1(n__take.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
cons.0-1(X1, X2) → n__cons.0-1(X1, X2)
U41.0-1-0(tt., V1, V2) → U42.0-0(isNat.1(activate.1(V1)), activate.0(V2))
isNatKind.0(X) → n__isNatKind.0(X)
activate.0(n__take.0-0(X1, X2)) → take.0-0(X1, X2)
isNat.1(n__length.1(V1)) → U11.0-1(isNatIListKind.1(activate.1(V1)), activate.1(V1))
isNat.1(n__0.) → tt.
and.0-1(X1, X2) → n__and.0-1(X1, X2)
U21.0-0(tt., V1) → U22.0(isNat.0(activate.0(V1)))
isNatKind.0(n__length.0(V1)) → isNatIListKind.0(activate.0(V1))
U71.0-1(tt., L) → s.1(length.1(activate.1(L)))
isNatList.0(n__take.0-0(V1, V2)) → U61.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
take.0-0(s.1(M), cons.0-0(N, IL)) → U91.0-0-1-0(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.0(IL), M, N)
take.0-0(X1, X2) → n__take.0-0(X1, X2)
zeros.n__zeros.
U11.0-1(tt., V1) → U12.0(isNatList.1(activate.1(V1)))
length.0(cons.1-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.1(L))
U43.0(tt.) → tt.
U11.0-0(tt., V1) → U12.0(isNatList.0(activate.0(V1)))
activate.0(n__isNatKind.1(X)) → isNatKind.1(X)
activate.1(n__and.0-1(X1, X2)) → and.0-1(X1, X2)
isNatList.1(n__take.1-1(V1, V2)) → U61.0-1-1(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.1(activate.1(V2))), activate.1(V1), activate.1(V2))
U31.0-1(tt., V) → U32.0(isNatList.1(activate.1(V)))
U91.0-0-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-0(activate.0(M), activate.0(IL)))
take.0-0(s.0(M), cons.1-1(N, IL)) → U91.0-1-0-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)
U41.0-0-0(tt., V1, V2) → U42.0-0(isNat.0(activate.0(V1)), activate.0(V2))
take.0-0(s.1(M), cons.1-0(N, IL)) → U91.0-0-1-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIListKind.0(X) → n__isNatIListKind.0(X)
isNat.0(n__length.0(V1)) → U11.0-0(isNatIListKind.0(activate.0(V1)), activate.0(V1))
U32.0(tt.) → tt.
U71.0-0(tt., L) → s.0(length.0(activate.0(L)))
isNat.0(n__s.1(V1)) → U21.0-1(isNatKind.1(activate.1(V1)), activate.1(V1))
length.0(cons.0-1(N, L)) → U71.0-1(and.0-0(and.0-0(isNatList.1(activate.1(L)), n__isNatIListKind.1(activate.1(L))), n__and.0-0(isNat.0(N), n__isNatKind.0(N))), activate.1(L))
take.1-1(X1, X2) → n__take.1-1(X1, X2)
U91.0-1-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-1(activate.1(M), activate.1(IL)))
activate.1(n__length.1(X)) → length.1(X)
s.1(X) → n__s.1(X)
U22.0(tt.) → tt.
isNatIListKind.1(X) → n__isNatIListKind.1(X)
take.1-0(X1, X2) → n__take.1-0(X1, X2)
U51.0-0-0(tt., V1, V2) → U52.0-0(isNat.0(activate.0(V1)), activate.0(V2))
isNatIListKind.0(n__zeros.) → tt.
activate.0(n__and.0-0(X1, X2)) → and.0-0(X1, X2)
activate.1(n__nil.) → nil.
activate.0(n__length.0(X)) → length.0(X)
isNatKind.0(n__s.0(V1)) → isNatKind.0(activate.0(V1))
isNatIList.0(n__cons.0-0(V1, V2)) → U41.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
U91.0-1-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-1(activate.0(M), activate.1(IL)))
U91.0-0-1-0(tt., IL, M, N) → cons.0-1(activate.0(N), n__take.1-0(activate.1(M), activate.0(IL)))
isNatIList.0(n__cons.1-0(V1, V2)) → U41.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
isNatIListKind.0(n__take.0-0(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2)))
U62.0-1(tt., V2) → U63.0(isNatIList.1(activate.1(V2)))
and.0-0(tt., X) → activate.0(X)
U42.0-1(tt., V2) → U43.0(isNatIList.1(activate.1(V2)))
cons.1-1(X1, X2) → n__cons.1-1(X1, X2)
length.1(X) → n__length.1(X)
and.1-0(X1, X2) → n__and.1-0(X1, X2)
take.0-1(X1, X2) → n__take.0-1(X1, X2)
activate.0(X) → X
take.0-0(s.0(M), cons.0-1(N, IL)) → U91.0-1-0-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.0(n__cons.0-1(X1, X2)) → cons.0-1(X1, X2)
U61.0-1-1(tt., V1, V2) → U62.0-1(isNat.1(activate.1(V1)), activate.1(V2))
take.0-0(s.1(M), cons.0-1(N, IL)) → U91.0-1-1-0(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.0(N), n__isNatKind.0(N)))), activate.1(IL), M, N)
activate.1(X) → X
isNatKind.1(n__0.) → tt.
isNatIListKind.1(n__nil.) → tt.
0.n__0.
U41.0-1-1(tt., V1, V2) → U42.0-1(isNat.1(activate.1(V1)), activate.1(V2))
isNatKind.1(X) → n__isNatKind.1(X)
U91.0-1-0-1(tt., IL, M, N) → cons.1-0(activate.1(N), n__take.0-1(activate.0(M), activate.1(IL)))
activate.1(n__take.1-1(X1, X2)) → take.1-1(X1, X2)
isNatIListKind.0(n__cons.1-0(V1, V2)) → and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2)))
take.1-1(0., IL) → U81.0(and.0-0(isNatIList.1(IL), n__isNatIListKind.1(IL)))
isNatIListKind.0(n__cons.0-1(V1, V2)) → and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.1(activate.1(V2)))
isNatIList.0(V) → U31.0-0(isNatIListKind.0(activate.0(V)), activate.0(V))
isNatList.0(n__cons.1-0(V1, V2)) → U51.0-1-0(and.0-0(isNatKind.1(activate.1(V1)), n__isNatIListKind.0(activate.0(V2))), activate.1(V1), activate.0(V2))
U61.0-1-0(tt., V1, V2) → U62.0-0(isNat.1(activate.1(V1)), activate.0(V2))
U42.0-0(tt., V2) → U43.0(isNatIList.0(activate.0(V2)))
take.1-0(0., IL) → U81.0(and.0-0(isNatIList.0(IL), n__isNatIListKind.0(IL)))
take.0-0(s.0(M), cons.1-0(N, IL)) → U91.0-0-0-1(and.0-0(and.0-0(isNatIList.0(activate.0(IL)), n__isNatIListKind.0(activate.0(IL))), n__and.0-0(and.0-0(isNat.0(M), n__isNatKind.0(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.0(IL), M, N)
isNatIList.0(n__zeros.) → tt.
U62.0-0(tt., V2) → U63.0(isNatIList.0(activate.0(V2)))
U91.0-0-0-0(tt., IL, M, N) → cons.0-0(activate.0(N), n__take.0-0(activate.0(M), activate.0(IL)))
U51.0-1-1(tt., V1, V2) → U52.0-1(isNat.1(activate.1(V1)), activate.1(V2))
U41.0-0-1(tt., V1, V2) → U42.0-1(isNat.0(activate.0(V1)), activate.1(V2))
U52.0-0(tt., V2) → U53.0(isNatList.0(activate.0(V2)))
isNatKind.0(n__s.1(V1)) → isNatKind.1(activate.1(V1))
U51.0-1-0(tt., V1, V2) → U52.0-0(isNat.1(activate.1(V1)), activate.0(V2))
activate.0(n__cons.1-0(X1, X2)) → cons.1-0(X1, X2)
isNatList.0(n__cons.0-0(V1, V2)) → U51.0-0-0(and.0-0(isNatKind.0(activate.0(V1)), n__isNatIListKind.0(activate.0(V2))), activate.0(V1), activate.0(V2))
activate.1(n__and.1-1(X1, X2)) → and.1-1(X1, X2)
nil.n__nil.
isNatList.1(n__nil.) → tt.
activate.0(n__cons.1-1(X1, X2)) → cons.1-1(X1, X2)
activate.0(n__isNatIListKind.1(X)) → isNatIListKind.1(X)
activate.1(n__take.1-0(X1, X2)) → take.1-0(X1, X2)
length.0(cons.1-0(N, L)) → U71.0-0(and.0-0(and.0-0(isNatList.0(activate.0(L)), n__isNatIListKind.0(activate.0(L))), n__and.0-0(isNat.1(N), n__isNatKind.1(N))), activate.0(L))
take.0-0(s.1(M), cons.1-1(N, IL)) → U91.0-1-1-1(and.0-0(and.0-0(isNatIList.1(activate.1(IL)), n__isNatIListKind.1(activate.1(IL))), n__and.0-0(and.0-0(isNat.1(M), n__isNatKind.1(M)), n__and.0-0(isNat.1(N), n__isNatKind.1(N)))), activate.1(IL), M, N)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
As can be seen after transforming the QDP problem by semantic labelling [33] and then some rule deleting processors, only certain labelled rules and pairs can be used. Hence, we only have to consider all unlabelled pairs and rules (without the decreasing rules for quasi-models).

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ Narrowing
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ Narrowing
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ Narrowing
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ QDP
                                                                  ↳ Narrowing
                                                                    ↳ QDP
                                                                      ↳ DependencyGraphProof
                                                                        ↳ QDP
                                                                          ↳ Narrowing
                                                                            ↳ QDP
                                                                              ↳ DependencyGraphProof
                                                                                ↳ QDP
                                                                                  ↳ Narrowing
                                                                                    ↳ QDP
                                                                                      ↳ DependencyGraphProof
                                                                                        ↳ QDP
                                                                                          ↳ Narrowing
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ Narrowing
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ Narrowing
                                                                                                                    ↳ QDP
                                                                                                                      ↳ DependencyGraphProof
                                                                                                                        ↳ QDP
                                                                                                                          ↳ Narrowing
                                                                                                                            ↳ QDP
                                                                                                                              ↳ DependencyGraphProof
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ QDPOrderProof
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ QDPOrderProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ QDPOrderProof
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ QDPOrderProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ SemLabProof
                                                                                                                                                              ↳ SemLabProof2
QDP
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U521(tt, x0) → ISNATLIST(x0)
U511(tt, x0, y1) → U521(isNat(x0), activate(y1))
U521(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(V1, V2)) → U511(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U521(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__0, y0) → U521(isNat(n__0), activate(y0))
U521(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U521(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
U521(tt, n__and(x0, x1)) → ISNATLIST(and(x0, x1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
QDP
                            ↳ QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U421(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → U411(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
U411(tt, V1, V2) → U421(isNat(activate(V1)), activate(V2))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                            ↳ QDP
QDP
                            ↳ QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATILISTKIND(n__cons(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
ACTIVATE(n__isNatIListKind(X)) → ISNATILISTKIND(X)
ISNATILISTKIND(n__cons(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
AND(tt, X) → ACTIVATE(X)
ISNATILISTKIND(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
                    ↳ QDPOrderProof
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ AND
                            ↳ QDP
                            ↳ QDP
                            ↳ QDP
QDP
                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
                ↳ AND
                  ↳ QDP
QDP

Q DP problem:
The TRS P consists of the following rules:

LENGTH(cons(N, L)) → U711(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
U711(tt, L) → LENGTH(activate(L))

The TRS R consists of the following rules:

zeroscons(0, n__zeros)
U11(tt, V1) → U12(isNatList(activate(V1)))
U12(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V) → U32(isNatList(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNatIList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(activate(V1)), activate(V2))
U52(tt, V2) → U53(isNatList(activate(V2)))
U53(tt) → tt
U61(tt, V1, V2) → U62(isNat(activate(V1)), activate(V2))
U62(tt, V2) → U63(isNatIList(activate(V2)))
U63(tt) → tt
U71(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatIListKind(activate(V1)), activate(V1))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatIList(V) → U31(isNatIListKind(activate(V)), activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatIListKind(n__nil) → tt
isNatIListKind(n__zeros) → tt
isNatIListKind(n__cons(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatIListKind(n__take(V1, V2)) → and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2)))
isNatKind(n__0) → tt
isNatKind(n__length(V1)) → isNatIListKind(activate(V1))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
isNatList(n__take(V1, V2)) → U61(and(isNatKind(activate(V1)), n__isNatIListKind(activate(V2))), activate(V1), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(and(and(isNatList(activate(L)), n__isNatIListKind(activate(L))), n__and(isNat(N), n__isNatKind(N))), activate(L))
take(0, IL) → U81(and(isNatIList(IL), n__isNatIListKind(IL)))
take(s(M), cons(N, IL)) → U91(and(and(isNatIList(activate(IL)), n__isNatIListKind(activate(IL))), n__and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))), activate(IL), M, N)
zerosn__zeros
take(X1, X2) → n__take(X1, X2)
0n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIListKind(X) → n__isNatIListKind(X)
niln__nil
and(X1, X2) → n__and(X1, X2)
isNatKind(X) → n__isNatKind(X)
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIListKind(X)) → isNatIListKind(X)
activate(n__nil) → nil
activate(n__and(X1, X2)) → and(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.